Template:Inflation/fn: Difference between revisions
No edit summary |
new ref for IN |
||
Line 6: | Line 6: | ||
| CA = {{#tag:ref|Canadian inflation numbers based on Statistics Canada. [http://www.statcan.gc.ca/tables-tableaux/sum-som/l01/cst01/econ46a-eng.htm "Consumer Price Index, historical summary"]. CANSIM, table (for fee) 326-0021 and Catalogue nos. 62-001-X, 62-010-X and 62-557-X. And [http://www.statcan.gc.ca/tables-tableaux/sum-som/l01/cst01/cpis01a-eng.htm Consumer Price Index, by province (monthly) (Canada)] Last modified 2016-01-22. Retrieved March 2, 2016 |name = "inflation-CA" |group={{{group|}}}}} |
| CA = {{#tag:ref|Canadian inflation numbers based on Statistics Canada. [http://www.statcan.gc.ca/tables-tableaux/sum-som/l01/cst01/econ46a-eng.htm "Consumer Price Index, historical summary"]. CANSIM, table (for fee) 326-0021 and Catalogue nos. 62-001-X, 62-010-X and 62-557-X. And [http://www.statcan.gc.ca/tables-tableaux/sum-som/l01/cst01/cpis01a-eng.htm Consumer Price Index, by province (monthly) (Canada)] Last modified 2016-01-22. Retrieved March 2, 2016 |name = "inflation-CA" |group={{{group|}}}}} |
||
| DE = {{#tag:ref|German inflation numbers based on data available from [http://www.destatis.de/jetspeed/portal/cms/Sites/destatis/Internet/DE/Content/Statistiken/Zeitreihen/LangeReihen/LebensunterhaltKonsum/Content100/lrleb02a,templateId=renderPrint.psml Deutsches Statistisches Bundesamt].|name="inflation-DE" |group= {{{group |}}}}} |
| DE = {{#tag:ref|German inflation numbers based on data available from [http://www.destatis.de/jetspeed/portal/cms/Sites/destatis/Internet/DE/Content/Statistiken/Zeitreihen/LangeReihen/LebensunterhaltKonsum/Content100/lrleb02a,templateId=renderPrint.psml Deutsches Statistisches Bundesamt].|name="inflation-DE" |group= {{{group |}}}}} |
||
| IN = {{#tag:ref|http://www. |
| IN = {{#tag:ref|[http://www.inflation.eu/inflation-rates/india/historic-inflation/cpi-inflation-india.aspx Inflation.eu] |name = "inflation-IN" |group={{{group|}}}}} |
||
| JP = {{#tag:ref|Japanese Historical Consumer Price Index numbers based on data available from the Japanese Statistics Bureau. [http://www.rateinflation.com/consumer-price-index/japan-historical-cpi Japan Historical Consumer Price Index (CPI) - 1970 to 2014] Retrieved 30 July 2014. For between 1946 and 1970, from {{cite web|url=http://shouwashi.com/transition-consumerprice.html|title=昭和戦後史|accessdate=2015-01-24}}|name="inflation-JP"|group={{{group|}}}}} |
| JP = {{#tag:ref|Japanese Historical Consumer Price Index numbers based on data available from the Japanese Statistics Bureau. [http://www.rateinflation.com/consumer-price-index/japan-historical-cpi Japan Historical Consumer Price Index (CPI) - 1970 to 2014] Retrieved 30 July 2014. For between 1946 and 1970, from {{cite web|url=http://shouwashi.com/transition-consumerprice.html|title=昭和戦後史|accessdate=2015-01-24}}|name="inflation-JP"|group={{{group|}}}}} |
||
| PH = {{#tag:ref|[http://www.bsp.gov.ph/statistics/spei_new/tab33_cpi.htm Consumer Price Index,Inflation Rate and Purchasing Power of the Peso] (national averages)|name=inflation-PH|group={{{group|}}}}} |
| PH = {{#tag:ref|[http://www.bsp.gov.ph/statistics/spei_new/tab33_cpi.htm Consumer Price Index,Inflation Rate and Purchasing Power of the Peso] (national averages)|name=inflation-PH|group={{{group|}}}}} |
Revision as of 14:15, 24 May 2016
This template is used on approximately 6,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Provides standard article footnotes for documenting the source of the inflated prices calculated by {{Inflation}}
.
Usage
{{Inflation/fn}}
{{Inflation/fn|index}}
{{Inflation/fn|index|group=groupname}}
When the index parameter is provided, a footnote about that specific data set is generated. The index codes are the same as those used by {{Inflation}}
:
{{Inflation/fn|AR}}
= [1]{{Inflation/fn|AT}}
= [2]{{Inflation/fn|AU}}
= [3]{{Inflation/fn|AU-road}}
= [4]
{{Inflation/fn|BD}}
= [5]{{Inflation/fn|BE}}
= [6]{{Inflation/fn|BR}}
= [7]{{Inflation/fn|CA}}
= [8]{{Inflation/fn|CH}}
= [9]{{Inflation/fn|CL}}
= [10]{{Inflation/fn|CN}}
= [11]{{Inflation/fn|DE}}
= [12]{{Inflation/fn|DK}}
= [13]{{Inflation/fn|EG}}
= [14]{{Inflation/fn|ES}}
= [15]{{Inflation/fn|FI}}
= [16]{{Inflation/fn|FR}}
= [17]{{Inflation/fn|GR}}
= [18]{{Inflation/fn|HK}}
= [19]{{Inflation/fn|ID}}
= [20]{{Inflation/fn|IL}}
= [21]{{Inflation/fn|IN}}
= [22]{{Inflation/fn|IR}}
= [23]{{Inflation/fn|IS}}
= [24]{{Inflation/fn|IT}}
= [25]{{Inflation/fn|JP}}
= [26]{{Inflation/fn|KRW}}
= [27]{{Inflation/fn|MX}}
= [28]{{Inflation/fn|NL}}
= [29]{{Inflation/fn|NO}}
= [30]{{Inflation/fn|PE}}
= [31]{{Inflation/fn|PH}}
= [32]{{Inflation/fn|PK}}
= [33]{{Inflation/fn|PL}}
= [34]{{Inflation/fn|PT}}
= [35]{{Inflation/fn|RU}}
= [36]{{Inflation/fn|SE}}
= [37]{{Inflation/fn|SG}}
= [38]{{Inflation/fn|TH}}
= [39]{{Inflation/fn|TR}}
= [40]{{Inflation/fn|TW}}
= [41]{{Inflation/fn|UK}}
= [42]{{Inflation/fn|UK-GDP}}
= [43]
{{Inflation/fn|US}}
= [44]{{Inflation/fn|US-GDP}}
= [45]
{{Inflation/fn|VN}}
= [46]{{Inflation/fn|ZAR}}
= [47]
When no index
parameter is provided, or when an invalid index is provided, a generic footnote is generated with an error:
{{Inflation/fn}}
= [48]{{Inflation/fn|xyz}}
= [49]
This is the reference list generated by the above examples:
- ^ Inflated values automatically calculated. Error: undefined index "AR" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "AT" when using {{Inflation-fn}}
- ^ Australian Consumer Price Inflation figures follow the Long Term Linked Series provided in Australian Bureau of Statistics (2011) 6461.0 – Consumer Price Index: Concepts, Sources and Methods, 2011 as explained at §§3.10–3.11; this series comprises "from 1901 to 1914, the A Series Retail Price Index; from 1914 to 1946–47, the C Series Retail Price Index; from 1946-47 to 1948-49, a combination of the C Series Index, excluding rent, and the housing group of the CPI; and from 1948–49 onwards, the CPI." (3.10). Retrieved May 4, 2015
- ^ Inflated values automatically calculated using the "3101 Road and bridge construction Australia" series provided in Australian Bureau of Statistics (2014) 6427.0 - Producer Price Indexes, Australia, Mar 2014: Table 17 Output of the Construction industries, subdivision and class index numbers. Retrieved 14 June 2014.
- ^ Bangladesh - Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious – discuss]
- ^ Inflated values automatically calculated. Error: undefined index "BE" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "BR" when using {{Inflation-fn}}
- ^ Canadian inflation numbers based on Statistics Canada. "Consumer Price Index, historical summary". CANSIM, table (for fee) 326-0021 and Catalogue nos. 62-001-X, 62-010-X and 62-557-X. And Consumer Price Index, by province (monthly) (Canada) Last modified 2016-01-22. Retrieved March 2, 2016
- ^ Inflated values automatically calculated. Error: undefined index "CH" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "CL" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "CN" when using {{Inflation-fn}}
- ^ German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
- ^ Inflated values automatically calculated. Error: undefined index "DK" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "EG" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "ES" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "FI" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "FR" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "GR" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "HK" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "ID" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "IL" when using {{Inflation-fn}}
- ^ Inflation.eu
- ^ Inflated values automatically calculated. Error: undefined index "IR" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "IS" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "IT" when using {{Inflation-fn}}
- ^ Japanese Historical Consumer Price Index numbers based on data available from the Japanese Statistics Bureau. Japan Historical Consumer Price Index (CPI) - 1970 to 2014 Retrieved 30 July 2014. For between 1946 and 1970, from "昭和戦後史". Retrieved 2015-01-24.
- ^ Inflated values automatically calculated. Error: undefined index "KRW" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "MX" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "NL" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "NO" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "PE" when using {{Inflation-fn}}
- ^ Consumer Price Index,Inflation Rate and Purchasing Power of the Peso (national averages)
- ^ Pakistan - Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious – discuss]
- ^ Inflated values automatically calculated. Error: undefined index "PL" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "PT" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "RU" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "SE" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "SG" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "TH" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "TR" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "TW" when using {{Inflation-fn}}
- ^ UK CPI inflation numbers based on data available from Gregory Clark (2016), "The Annual RPI and Average Earnings for Britain, 1209 to Present (New Series)" MeasuringWorth.
- ^ Inflated values automatically calculated. Error: undefined index "UK-GDP" when using {{Inflation-fn}}
- ^ "Consumer Price Index (estimate) 1800–". Federal Reserve Bank of Minneapolis. Retrieved November 10, 2015.
- ^ Inflated values automatically calculated. Error: undefined index "US-GDP" when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "VN" when using {{Inflation-fn}}
- ^ South Africa - Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious – discuss]
- ^ Inflated values automatically calculated. Error: no index specified when using {{Inflation-fn}}
- ^ Inflated values automatically calculated. Error: undefined index "xyz" when using {{Inflation-fn}}
Anchor names produced are based on the index parameter, or its lack thereof. As a result, the same {{Inflation/fn|index}}
code can be used many times in the same article while generating only one actual footnote per index code.
Reference grouping
If it is desired to place the footnote into a reference group other than the default, the |group=
parameter may be used:
{{Inflation/fn|UK|group=nb}}
= [nb 1]
- ^ UK CPI inflation numbers based on data available from Gregory Clark (2016), "The Annual RPI and Average Earnings for Britain, 1209 to Present (New Series)" MeasuringWorth.
NB to group the footnote with other footnotes rather than references, ({{notelist}}), use |group=lower-alpha
See the related section at {{Inflation}} for additional instructions and examples.
Date format
Where the country is either CA
or US
, the generated reference includes the retrieval date of the data, which is shown in month-first (MDY) format. For US
only, this may be altered to day-first (DMY) format by adding |df=yes
. This must be done each time the template is called in an article, or there will be an error message in the reference list.
{{Inflation/fn|US|df=yes}}
= [1]
- ^ "Consumer Price Index (estimate) 1800–". Federal Reserve Bank of Minneapolis. Retrieved 10 November 2015.
Citation format
The citations for several indexes use {{cite web}} as a base template. This means the footnotes are output using Citation Style 1 (CS1) as a default. One (IN
) uses {{citation}} as a base template, resulting in Citation Style 2 (CS2) as a default. To switch between these, use |mode=cs1
or |mode=cs2
as appropriate. This must be done each time the template is called in an article, or there will be an error message in the reference list.
{{Inflation/fn|US|mode=cs2}}
= [1]{{Inflation/fn|IN|mode=cs1}}
= [2]
- ^ "Consumer Price Index (estimate) 1800–". Federal Reserve Bank of Minneapolis. Retrieved November 10, 2015.
- ^ Inflation.eu
Name list styles
This template supports |name-list-style=
to promote consistency with other citations in an article.
{{Inflation/fn|US-GDP|name-list-style=amp}}
= [1]
- ^ Inflated values automatically calculated. Error: undefined index "US-GDP" when using {{Inflation-fn}}
See also
- {{Inflation}}
- {{Inflation/year}}
- {{Format price}}
- Help:Footnotes