Template:Inflation-fn/doc

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

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



When no country parameter is provided, or when an invalid country is provided, the generated footnote is a generic one:



This is the reference list generated by the above examples:

Notice that the anchor names produced are based on the country 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 country 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:



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