Template:Inflation-fn/doc

From The New Prairie Universe Wiki
Jump to navigation Jump to search

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

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

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. "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
  5. German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
  6. Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
  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 Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
  8. Consumer Price Index,Inflation Rate and Purchasing Power of the Peso (national averages)
  9. Pakistan - Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
  10. 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.
  11. 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.
  12. Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
  13. United States nominal Gross Domestic Product per capita figures follow the Measuring Worth series supplied in Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found. These figures follow the figures as of 2015.
  14. South Africa - Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]
  15. Inflated values automatically calculated. Error: no index specified when using {{Inflation-fn}}
  16. 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:

  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

  1. Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

See also