Difference between revisions of "Template:Inflation/doc/cpi"

From blackwiki
Jump to navigation Jump to search
imported>Ktr101
(Actually, they no longer use an end year)
imported>Betty Logan
(Fixed)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It's used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from [http://www.minneapolisfed.org/community_education/teacher/calc/hist1800.cfm Consumer Price Index (estimate) 1800–], Federal Reserve Bank of Minneapolis.{{dubious}}
+
This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It is used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from [https://www.minneapolisfed.org/about-us/monetary-policy/inflation-calculator/consumer-price-index-1800- Consumer Price Index (estimate) 1800–], Federal Reserve Bank of Minneapolis.
  
 
=== Usage ===
 
=== Usage ===
Line 14: Line 14:
  
 
<includeonly>
 
<includeonly>
[[Category:Economics formatting and function templates|{{PAGENAME}}]]
+
[[Category:Economics formatting and function templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 03:36, 1 January 2020

This sub-template returns the associated country's CPI for a specific year. It is used by {{Inflation/doc}} for calculating the inflation rate between two given years, which in turn is used by {{Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from Consumer Price Index (estimate) 1800–, Federal Reserve Bank of Minneapolis.

Usage

{{Inflation/doc/cpi|year}}

Providing no parameter or providing an invalid parameter will result in the "default" CPI, what usually means the latest one.

See also