Template:Inflation/doc/cpi-th

Source: Wikipedia, the free encyclopedia.

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 sources for this dataset are Nominal Wage, Cost of Living and Real Wage Data for Thailand (Siam) 1820-1939 for 1820 to 1941, Inflation 1800-2000 for 1944 to 1993, and Bank for International Settlements, Consumer prices, for 1994 to 2020.


Usage

{{Inflation/doc/cpi-th|year}}

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

See also