Predloga:Inflation/fn

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

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

Usage[uredi kodo]

 {{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.[dvomljivo]
  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. November 15, 2020. Pridobljeno dne November 15, 2020. 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. Pridobljeno dne November 15, 2020.
  5. German inflation numbers based on data available from Deutsches Statistisches Bundesamt.
  6. Historic inflation India – CPI inflation, Inflation.eu, pridobljeno dne 19 March 2020
  7. The Consumer Price Index for All Urban Consumers (Inflation Rate) (PDF) (Persian), Central Bank of Iran, pridobljeno dne 25 June 2020CS1 vzdrževanje: Neprepoznan jezik (link)
  8. 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 "昭和戦後史". Pridobljeno dne 2015-01-24.
  9. Consumer Price index from Statistics Korea. Consumer Price Index by year. Retrieved 3 April 2018
  10. Consumer Price Index,Inflation Rate and Purchasing Power of the Peso (national averages)
  11. Pakistan – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dvomljivo]
  12. 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. Pridobljeno dne February 2, 2020.
  13. 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. Pridobljeno dne February 2, 2020.
  14. Federal Reserve Bank of Minneapolis. "Consumer Price Index (estimate) 1800–". Pridobljeno dne January 1, 2020.
  15. Thomas, Ryland; Williamson, Samuel H. (2020). "What Was the U.S. GDP Then?". MeasuringWorth. Pridobljeno dne September 22, 2020. United States Gross Domestic Product deflator figures follow the Measuring Worth series.
  16. South Africa – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dvomljivo]
  17. Inflated values automatically calculated. Napaka: no index specified pri uporabi {{Inflation/fn}}
  18. Inflated values automatically calculated. Napaka: undefined index "xyz" pri uporabi {{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[uredi kodo]

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. Pridobljeno dne 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[uredi kodo]

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–". Pridobljeno dne 1 January 2020.

Citation format[uredi kodo]

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–", pridobljeno dne January 1, 2020
  2. Historic inflation India – CPI inflation. Inflation.eu. Pridobljeno dne 19 March 2020.

Name list styles[uredi kodo]

This template supports |name-list-style= to promote consistency with other citations in an article.

  1. Thomas, Ryland; Williamson, Samuel H. (2020). "What Was the U.S. GDP Then?". MeasuringWorth. Pridobljeno dne September 22, 2020. Neznan parameter |name-list-style= ni upoštevan (pomoč) United States Gross Domestic Product deflator figures follow the Measuring Worth series.

See also[uredi kodo]