Template:Inflation/year/doc

Provides a standard way of indicating the "current" year of the inflated prices calculated by. This template is relied upon by, but can also be called directly in articles needing to specify the currently most recent year for which inflation is calculated for a given index. See for usage examples.

Usage
When the required  parameter is provided, the last year given by the inflation data is printed. The index codes are the same as those used by :





When no  parameter is provided, or when an invalid index is provided, an error is shown:


 * also =
 * also =

{	"params": { "index": { "aliases": [ "1"			],			"label": "Index", "description": "An index code for one of several available inflation indexes. One of AU, AU-road, BD, CA, DE, IN, IR, JP, PH, PK, UK, UK-GDP, US, US-GDP, ZAR.", "example": "US", "type": "string", "required": true }	},	"format": "inline", "description": "Provides a standard way of indicating the \"current\" year of the inflated prices calculated by the Inflation template. This template is relied upon by the Inflation template, but can also be called directly in articles needing to specify the currently most recent year for which inflation is calculated for a given index. See the Inflation template for usage examples." }