![]() | This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason. |
This sub-template returns the associated country's CPI for a specific year. It's used by {{Inflation/MX}} 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 Prices and wages in Argentina, Bolivia, Chile, Colombia, Mexico and Peru for 1525 to 1770, Mexico’s Real Wages in the Age of the Great Divergence, 1730-1930 for 1771 to 1930, Estadísticas Históricas de México for 1931 to 1934, and Inflation 1800-2000 for 1935 to 2007.
{{Inflation/MX/dataset|year}}
Providing no parameter or providing an invalid parameter will result in the "default" CPI, what usually means the latest one.