Modèle:Inflation-info

Une page de Wikipédia, l'encyclopédie libre.
Aller à : navigation, rechercher
Documentation Documentation[modifier] [purger]

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

Usage[modifier | modifier le code]

 {{Inflation-info}}
 {{Inflation-info|country}}
 {{Inflation-info|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-info|AU}} = [1]
  • {{Inflation-info|CA}} = [2]
  • {{Inflation-info|DE}} = [3]
  • {{Inflation-info|UK}} = [4]
    • {{Inflation-info|UKNGDPPC}} = [5]
  • {{Inflation-info|US}} = [6]
    • {{Inflation-info|US-NGDPPC}} = [7]

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

  • {{Inflation-info}} = [8]
  • {{Inflation-info|xyz}} = [8]

This is the reference list generated by the above examples:

  1. Chiffres de l'inflation en Australie basés sur la Long Term Linked Series fournie par le Bureau australien des statistiques 6461.0 – Consumer Price Index: Concepts, Sources and Methods, 2011 comme expliqué au §§3.10–3.11 (HISTORICAL BACKGROUND); les séries comprises "de 1901 à 1914, les séries A; de 1914 à 1946–47, les séries C; de 1946-47 à 1948-49, une combinaison des séries C, excluant les logements; et à partir de 1948–49, le CPI". Dernière modification le 19/12/2011. Dernière visite le 05/10/2013
  2. Chiffres de l'inflation au Canada basés sur Statistics Canada. "Consumer Price Index, historical summary". CANSIM, table (gratuite) 326-0021 et Catalogues numéros. 62-001-X, 62-010-X and 62-557-X. Dernière modification le 25/01/2013. Dernière visite le 04/10/2013
  3. Chiffres de l'inflation en Allemagne basés sur Deutsches Statistisches Bundesamt.
  4. Chiffres de l'inflation au Royaume-Uni basés sur les données disponibles de Gregory Clark (2013), "What Were the British Earnings and Prices Then? (New Series)" sur le site internet MeasuringWorth.
  5. 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.
  6. Chiffres de l'inflation aux États-Unis basé sur les données de la Federal Reserve Bank of Minneapolis Consumer Price Index (estimate) 1800–2013. Dernière visite le March 31, 2013.
  7. United States nominal Gross Domestic Product per capita figures follow the "Measuring Worth" series supplied in Lawrence H. Officer (2013), "What Was the U.S. GDP Then?" MeasuringWorth. These figures follow the figures as of 2011.
  8. a et b Inflation automatiquement calculée.

Notice that the anchor names produced are based on the country parameter, or its lack thereof. As a result, the same {{Inflation-info|country}} code can be used many times in the same article while generating only one actual footnote per country code.

Reference grouping[modifier | modifier le code]

If it is desired to place the footnote into a reference group other than the default, the |group= parameter may be used:

  • {{Inflation-info|UK|group=nb}} = [nb 1]
  1. Chiffres de l'inflation au Royaume-Uni basés sur les données disponibles de Gregory Clark (2013), "What Were the British Earnings and Prices Then? (New Series)" sur le site internet MeasuringWorth.

See the related section at (tl) for additional instructions and examples.

Date format[modifier | modifier le code]

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-info|US|df=yes}} = [1]
  1. Chiffres de l'inflation aux États-Unis basé sur les données de la Federal Reserve Bank of Minneapolis Consumer Price Index (estimate) 1800–2013. Dernière visite le 31 March 2013.