Difference between revisions of "Template:Inflation/US/dataset"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jonesey95
(update per source (currently an estimate, but people have added 2018 to templates instead of reading the documentation, it appears, so this is an easier fix))
blackwiki>DannyS712
m (subcategorize in Category:United States data templates, per edit request)
Line 220: Line 220:
 
| 2018 |#default = 752.9
 
| 2018 |#default = 752.9
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:Data templates|United States Inflation]]</noinclude>
+
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:United States data templates|United States Inflation]]</noinclude>

Revision as of 00:12, 13 August 2019

752.9

Template documentation[view] [edit] [history] [purge]

This sub-template returns the associated country's CPI for a specific year. It is used by {{Inflation/US}} 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/US/dataset|year}}

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

See also