Template:US$/doc
Appearance
This is a documentation subpage for Template:Terminate sentence It contains usage information, categories and other content that is not part of the original template page. |
This template adds the siller mark "US$" linked tae the Unitit States dollar airticle.
Uisage
[eedit soorce]{{US$|value}}
- value must be specified.
{{US$|123.45}}
produces US$123.45.
Inflation calculation
[eedit soorce]This template is only capable o inflatin Consumer Price Index values: staples, wirkers rent, smaa service bills (doctor's costs, train tickets). This template is incapable o inflatin Caipital expenses, govrenment expenses, or the personal wealth an expenditure o the rich. Incorrect uise o this template would constitute original research. If ye yourself do nae possess it, please consult someone wi economic trainin before makin uise o this. |
The template nou supports calculation o inflation. A seicont parameter can be uised tae specify a year atween 1913 an 2009 an will calculate the relative value in 2024.
{{US$|value|year}}
A third parameter about will cause the template tae calculate tae the nearest dollar instead o the nearest cent. This can be activatit bi teepin about=yes.
Examples:
{{US$|10|1935}}
→ US$10 (equivalent to $186.48 in 2019){{US$|10|1935|round=0}}
→ US$10 (equivalent to $186 in 2019){{US$|1000|1935|round=2}}
→ US$1,000 (equivalent to $18,648.06 in 2019){{US$|1000|1935|round=-2}}
→ US$1,000 (equivalent to $18,600 in 2019)
Link
[eedit soorce]The link parameter mey be uised tae link US$ tae the airticle Unitit States dollar. This is turned aff bi default, but mey be appropriate for the first occurrence o the term in an airticle.
Example:
{{US$|10|1935|link=yes}}
→ US$10 (equivalent to $186.48 in 2019)
See also
[eedit soorce]