Template:Inflation-fn

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Provides standard article footnotes for documenting the source of the inflated prices calculated by {{Inflation}}.

Usage

 {{Inflation-fn}}
 {{Inflation-fn|country}}
 {{Inflation-fn|country|group=groupname}}

When the country parameter is provided, a footnote about that specific data set is generated. The country codes are the same as those used by {{Inflation}}:

  • {{Inflation-fn|AU}} = [1]
  • {{Inflation-fn|CA}} = [2]
  • {{Inflation-fn|DE}} = [3]
  • {{Inflation-fn|JP}} = [4]
  • {{Inflation-fn|UK}} = [5]
    • {{Inflation-fn|UKNGDPPC}} = [6]
  • {{Inflation-fn|US}} = [7]
    • {{Inflation-fn|US-NGDPPC}} = [8]

When no country parameter is provided, or when an invalid country is provided, the generated footnote is a generic one:

  • {{Inflation-fn}} = [9]
  • {{Inflation-fn|xyz}} = [9]

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 (2009) 6461.0 – Consumer Price Index: Concepts, Sources and Methods, 2009 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)
  2. ^ 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 2013-12-20. Retrieved January 8, 2014
  3. ^ German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
  4. ^ Japansese 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.
  5. ^ UK CPI inflation numbers based on data available from Gregory Clark (2014), "What Were the British Earnings and Prices Then? (New Series)" MeasuringWorth.
  6. ^ United Kingdom nominal Gross Domestic Product per capita figures follow the Measuring Worth series supplied in Lawrence H. Officer (2011), "What Was the U.K. GDP Then?" MeasuringWorth. These figures represent the figures prior to the update to the Blue Book in October 2011.
  7. ^ Consumer Price Index (estimate) 1800–2014. Federal Reserve Bank of Minneapolis. Retrieved February 27, 2014.
  8. ^ United States nominal Gross Domestic Product per capita figures follow the "Measuring Worth" series supplied in Johnston, Louis; Williamson, Samuel H. (2014). "What Was the U.S. GDP Then?". MeasuringWorth. Retrieved April 18, 2014.  These figures follow the figures as of 2012.
  9. ^ a b Inflated values automatically calculated.

Notice that the anchor names produced are based on the country parameter, or its lack thereof. As a result, the same {{Inflation-fn|country}} code can be used many times in the same article while generating only one actual footnote per country 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]
  1. ^ UK CPI inflation numbers based on data available from Gregory Clark (2014), "What Were the British Earnings and Prices Then? (New Series)" MeasuringWorth.

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

  • {{Inflation-fn|US|df=yes}} = [1]
  1. ^ Consumer Price Index (estimate) 1800–2014. Federal Reserve Bank of Minneapolis. Retrieved 27 February 2014.

See also