Fyrimynd:Inflation-year/doc
Appearance
Hetta er ein dokumentatión undirsíða til Fyrimynd:Inflation-year. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
Provides a standard way of indicating the "current" year of the inflated prices calculated by {{Inflation}}
.
Usage
[rætta wikitekst]{{Inflation-year}}
{{Inflation-year|country}}
When the country parameter is provided, the last year given by the inflation data is printed. The country codes are the same as those used by {{Inflation}}
:
{{Inflation-year|AU}}
= 2008{{Inflation-year|CA}}
= 2015{{Inflation-year|DE}}
= 2009{{Inflation-year|UK}}
= 2014{{Inflation-year|UKNGDPPC}}
= 2010
{{Inflation-year|US}}
= 2014{{Inflation-year|US-NGDPPC}}
= 2013
When no country parameter is provided, or when an invalid country is provided an error is shown:
{{Inflation-year}}
= Inflation-year template error: Country must be specified.