మూస:Inflation-year/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

Provides a standard way of indicating the "current" year of the inflated prices calculated by {{Inflation}}.

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

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.