Template:Inflation/doc/cpi-th
Appearance
< Template:Inflation | doc
![]() | 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/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
[edit]{{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
[edit]- {{Inflation}}
- {{Inflation/doc}}