Template:Inflation/fn/doc
This is a documentation subpage for Template:Inflation/fn. It may contain usage information, categories and other content that is not part of the original template page. |
Provides standard article footnotes for documenting the source of the inflated prices calculated by {{Inflation}}.
Usage
[edit source]{{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|AU}} = [1]
- {{Inflation/fn|AU-road}} = [2]
- {{Inflation/fn|BD}} = [3]
- {{Inflation/fn|CA}} = [4]
- {{Inflation/fn|DE}} = [5]
- {{Inflation/fn|IN}} = [6]
- {{Inflation/fn|JP}} = [7]
- {{Inflation/fn|KRW}} = [8]
- {{Inflation/fn|PH}} = [9]
- {{Inflation/fn|PK}} = [10]
- {{Inflation/fn|UK}} = [11]
- {{Inflation/fn|UK-GDP}} = [12]
- {{Inflation/fn|US}} = [13]
- {{Inflation/fn|US-GDP}} = [14]
- {{Inflation/fn|ZAR}} = [15]
When no index
parameter is provided, or when an invalid index is provided, a generic footnote is generated with an error:
- {{Inflation/fn}} = [16]
- {{Inflation/fn|xyz}} = [17]
This is the reference list generated by the above examples:
- ↑ 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 ]
- ↑ Canadian inflation numbers based on Statistics Canada tables 18-10-0005-01 (formerly CANSIM 326-0021) "Consumer Price Index, annual average, not seasonally adjusted". Statistics Canada. January 18, 2019. Retrieved March 6, 2019. and 18-10-0004-13 "Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit". Statistics Canada. Retrieved March 6, 2019.
- ↑ German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
- ↑ Historic inflation India – CPI inflation, Inflation.eu, retrieved 19 March 2020
- ↑ 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.
- ↑ Consumer Price index from Statistics Korea. Consumer Price Index by year. Retrieved 3 April 2018
- ↑ 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 ]
- ↑ UK Retail Price Index inflation figures are based on data from Clark, Gregory (2017). "The Annual RPI and Average Earnings for Britain, 1209 to Present (New Series)". MeasuringWorth. Retrieved February 2, 2020.
- ↑ United Kingdom Gross Domestic Product deflator figures follow the Measuring Worth "consistent series" supplied in Thomas, Ryland; Williamson, Samuel H. (2018). "What Was the U.K. GDP Then?". MeasuringWorth. Retrieved February 2, 2020.
- ↑ Federal Reserve Bank of Minneapolis. "Consumer Price Index (estimate) 1800–". Retrieved January 1, 2020.
- ↑ Thomas, Ryland; Williamson, Samuel H. (2019). "What Was the U.S. GDP Then?". MeasuringWorth. Retrieved April 6, 2019. United States Gross Domestic Product deflator figures follow the Measuring Worth series.
- ↑ South Africa – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
- ↑ 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
[edit source]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 Retail Price Index inflation figures are based on data from Clark, Gregory (2017). "The Annual RPI and Average Earnings for Britain, 1209 to Present (New Series)". MeasuringWorth. Retrieved February 2, 2020.
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
[edit source]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]
- ↑ Federal Reserve Bank of Minneapolis. "Consumer Price Index (estimate) 1800–". Retrieved 1 January 2020.
Citation format
[edit source]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]
- ↑ Federal Reserve Bank of Minneapolis, "Consumer Price Index (estimate) 1800–", retrieved January 1, 2020
- ↑ Historic inflation India – CPI inflation. Inflation.eu. Retrieved 19 March 2020.
See also
[edit source]- {{Inflation}}
- {{Inflation/year}}
- {{Format price}}
- Help:Footnotes