Fyrimynd:Inflation-year
Provides a standard way of indicating the "current" year of the inflated prices calculated by {{Inflation}}
.
Usage rætta
{{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.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Inflation-year/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |