This sub-template returns the associated country's CPI for a specific year. It's 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 source for this dataset is Data 1850.

Usage

edit
{{Inflation/doc/cpi-nz|year}}

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

See also

edit