Difference between revisions of "Template:Inflation/CA/dataset/doc"

From blackwiki
Jump to navigation Jump to search
imported>Alaney2k
(for use in doc)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by one other user not shown)
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 information in this dataset is manually input from [http://www.statcan.gc.ca/subjects-sujets/cpi-ipc/t101123a3-eng.htm Statistics Canada latest release] and [http://www40.statcan.gc.ca/l01/cst01/econ46a-eng.htm Statistics Canada historical CPI summary].
+
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 information in this dataset is manually input from:
 +
* {{cite web |publisher=Statistics Canada |url=https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1810000501#timeframe |title=Consumer Price Index, annual average, not seasonally adjusted |accessdate=March 6, 2019}}
 +
*{{cite web |publisher=Statistics Canada |url=https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1810000413#timeframe |title=Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit |accessdate=March 6, 2019}}
  
 
=== Usage ===
 
=== Usage ===
Line 13: Line 15:
 
* {{tl|{{BASEPAGENAME}}}}
 
* {{tl|{{BASEPAGENAME}}}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Economics formatting and function templates|{{PAGENAME}}]]
 
[[Category:Economics formatting and function templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:35, 25 April 2020

This sub-template returns the associated country's CPI for a specific year. It's used by {{Inflation/CA/dataset}} 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 information in this dataset is manually input from:

  • "Consumer Price Index, annual average, not seasonally adjusted". Statistics Canada. Retrieved March 6, 2019.
  • "Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit". Statistics Canada. Retrieved March 6, 2019.

Usage

{{Inflation/CA/dataset/doc|year}}

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

See also