Template:Inflation/doc/cpi-ph

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 Nominal Wage, Cost of Living and Real Wage Data for the Philippines 1899-1940 from 1899 to 1938, Inflation 1800-2000, and Consumer Price Index, Inflation Rate, and Purchasing Power of the Peso from 1959 to 2019, and subsequent releases of that data table for 2020 and 2021.

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