Template:Inflation/fn/doc

From Hârn
Jump to navigation Jump to search

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}}:

When no index parameter is provided, or when an invalid index is provided, a generic footnote is generated with an error:

This is the reference list generated by the above examples:

  1. 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
  2. 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.
  3. Bangladesh – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
  4. 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. 
  5. German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
  6. Historic inflation India – CPI inflation, Inflation.eu, retrieved 24 January 2017 
  7. 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. 
  8. Consumer Price index from Statistics Korea. Consumer Price Index by year. Retrieved 3 April 2018
  9. Consumer Price Index,Inflation Rate and Purchasing Power of the Peso (national averages)
  10. Pakistan – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
  11. 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 January 27, 2019. 
  12. 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 January 5, 2018. 
  13. Federal Reserve Bank of Minneapolis. "Consumer Price Index (estimate) 1800–". Retrieved January 2, 2019. 
  14. 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.
  15. South Africa – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
  16. Inflated values automatically calculated. Error: no index specified when using {{Inflation/fn}}
  17. 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:

  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 January 27, 2019. 

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.

  1. Federal Reserve Bank of Minneapolis. "Consumer Price Index (estimate) 1800–". Retrieved 2 January 2019. 

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.

  1. Federal Reserve Bank of Minneapolis, "Consumer Price Index (estimate) 1800–", retrieved January 2, 2019 
  2. Historic inflation India – CPI inflation. Inflation.eu. Retrieved 24 January 2017. 

Last author ampersands[edit source]

To promote consistency with an article that uses |last-author-amp= to join the last author in a list with an ampersand, footnotes that list multiple authors and the {{cite web}} base template can also use this parameter. This must be done each time the template is called in an article, or there will be an error message in the reference list.

  1. 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.

See also[edit source]

External links[edit source]