Template:Inflation/doc/cpi-tr

This sub-template returns the associated country's CPI for a specific year. It's used by undefined 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 sources for this dataset are Inflation Dynamics and its Sources in the Ottoman Empire: 1586–1913 from 1585 to 1938, and Bank for International Settlements, Consumer prices for 1939 to 2021.

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