Template:Inflation/fn/doc

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

Usage
When the index parameter is provided, a footnote about that specific data set is generated. The index codes are the same as those used by :





When no  parameter is provided, or when an invalid index is provided, a generic footnote is generated with an error:



This is the reference list generated by the above examples:

Anchor names produced are based on the index parameter, or its lack thereof. As a result, the same code can be used many times in the same article while generating only one actual footnote per index code.

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



NB to group the footnote with other footnotes rather than references, (notelist), use lower-alpha

See the related section at Inflation for additional instructions and examples.

Date format
Where the country is either  or , the generated reference includes the retrieval date of the data, which is shown in month-first (MDY) format. For  only, this may be altered to day-first (DMY) format by adding yes. This must be done each time the template is called in an article, or there will be an error message in the reference list.

Citation format
The citations for several indexes use cite web as a base template. This means the footnotes are output using Citation Style 1 (CS1) as a default. One uses citation as a base template, resulting in Citation Style 2 (CS2) as a default. To switch between these, use cs1 or cs2 as appropriate. This must be done each time the template is called in an article, or there will be an error message in the reference list.