ढाँचा:Inflation

![]() | This template is only capable of inflating Consumer Price Index values: staples, workers rent, small service bills (doctor's costs, train tickets). This template is incapable of inflating Capital expenses, government expenses, or the personal wealth and expenditure of the rich. Incorrect use of this template would constitute original research. If you yourself do not possess it, please consult someone with economic training before making use of this. |
![]() | यस ढाँचामा अप्ठ्यारा सुविधाहरू रहेका छन्। कृपया यस ढाँचालाई सम्पादन गर्नु पूर्व यस ढाँचाको व्यवस्थापन तथा पार्सर प्रणालीहरूसँग परिचित हुनुपर्छ र पनि यदि तपाईँले गरेको सम्पादनबाट कुनै जटिल तथा अप्रत्याशित समस्या आएमा तत्कालै आफ्नो सम्पादन फर्काई दिनुहोला, किनकि यो ढाँचा अत्यधिक सङ्ख्याका लेख/पृष्ठहरूमा प्रयोग भइरहेको छ। स्मरण रहोस्: तपाईँ प्रयोग आदि गर्न सक्नुहुन्छ तर यहाँ कुनै पनि प्रयोग गर्नुपूर्व सबै प्रयोग सामान्य ढाँचा प्रयोगस्थलमा अथवा आफ्नो प्रयोगकर्ता प्रयोगस्थलमा गर्नुहोस्। |
This template takes a country_code, for example, "US" for the United States or "UK" for United Kingdom, a value in that country's currency, a start_year, and applies to it the country's consumer price inflation until "recently".[१] For example, this template calls the U.S. inflation table located in the sub-template Template:Inflation/US/dataset to perform the U.S. calculation. This means that whenever a new year arrives and the inflation tables are updated, all articles using this template have their displayed values updated accordingly.
Alternatively, you can provide a second, optional end_year parameter, and the value will be inflated for the period between the two years, providing a convenient way of getting values from different time periods adjusted around the same date.
![]() | This template defaults to calculating the inflation of Consumer Price Index values: staples, workers' rent, small service bills (doctor's costs, train tickets). For inflating capital expenses, government expenses, or the personal wealth and expenditure of the rich, the US-GDP or UK-GDP indexes should be used, which calculate inflation based on the gross domestic product (GDP) for the United States and United Kingdom, respectively. | ![]() |
![]() | Do not assume that using this template will mean that a calculated value is "current", "as of २०२५", "as of अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।" or even necessarily "recent". Per , statements made using this template should either specify an end_year , or rely on |fmt=eq or {{Inflation/year}} to automatically indicate the latest year this template provides an inflation calculation. Do not use {{CURRENTYEAR}} . | ![]() |
![]() | This template is used on approximately १८,००० pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | यो ढाँचा प्रतिस्थापित हुनु हुँदैन। |
This template calculates inflation based on several inflation index data sets. The template uses an identification code for an inflation index
(usually a country code), an original value
, an original start_year
and either a specific reference end_year
or by default the latest currently available end year,[२] and calculates the equivalent value from historical economic changes between the original and reference years. For example, this template calls the United States inflation table located in the sub-template Template:Inflation/US/dataset to perform the U.S. calculation.
Aside from a convenient way to calculate values from different specified time periods, this template allows a regularly automatically updated calculation of value based on the most recent available inflation data. Whenever inflation tables are updated, potentially annually, all articles using this template have their displayed values updated accordingly.
For US currency (different to US-GDP), there is a simplified wrapper template, {{USDCY}}, which turns e.g. "{{USDCY|6.66|1899}}
" into "($NaN in 2023)".
See also
[सम्पादन गर्नुहोस्]- {{Inflation-fn}}
- {{Formatprice}}
- Inflation
- Consumer price index
- Harmonised Index of Consumer Prices
- List of country codes
- List of circulating currencies
- United States Consumer Price Index
- Consumer Price Index (United Kingdom)
References
[सम्पादन गर्नुहोस्]- ↑ How recently depends on how the data set for each countries is constructed, and on the internal tables being updated accordingly every January. Some data tables provide inflation data up to December 31, अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।, others up to roughly June-July अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।, and others yet up to December 31, अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।.
- ↑ How recently depends on how the data set for each country is constructed, and on the internal tables being updated accordingly every January. Some data tables provide inflation data up to December 31, अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।, others up to roughly June-July अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।, and others yet up to December 31, अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।.