Jump to content

Template:Inflation/doc/cpi-ch: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m .
update
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It's used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The source for this dataset is the [https://www.bfs.admin.ch/bfs/en/home/statistics/prices/consumer-price-index.assetdetail.17084204.html Federal Statistics Office, CPI, Global index on all index bases].
This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It's used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The sources for this dataset are [http://www.swistoval.ch/downloads/pdfs/studer-schuppli-2008.pdf Deflating Swiss Prices over the Past Five Centuries] for 1501 to 1813, and [https://www.bfs.admin.ch/bfs/en/home/statistics/prices/consumer-price-index.assetdetail.17084204.html Federal Statistics Office, CPI, Global index on all index bases] for 1814 to 2021.


=== Usage ===
=== Usage ===

Revision as of 02:08, 21 May 2021

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 Deflating Swiss Prices over the Past Five Centuries for 1501 to 1813, and Federal Statistics Office, CPI, Global index on all index bases for 1814 to 2021.

Usage

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

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

See also