Template parameters
[edit]To use this template, invoke it with the following arguments:
- currencies (Optional)
- The currency codes to display. If not specified then this parameter defaults to "GBP,AUD,CAD".
Example
[edit]To use this template with the default currency conversions:
{{exchange rate US}}
...which produces:
Exchange rates for U.S. dollars
As of January 2024:
Exchange rates fluctuate. Current rates for these and other currencies are available from XE.com |
To use this template with custom currency conversions:
{{exchange rate US|currencies=GBP,CAD,JPY,AUD}}
...which produces:
Exchange rates for U.S. dollars
As of January 2024:
Exchange rates fluctuate. Current rates for these and other currencies are available from XE.com |
Notes for template use
[edit]- The link to XE.com provides current exchange rates to make it easier to update the rates shown in the template - be sure to change the "as of" date too.
- To avoid clutter, only major currencies should be used.
- Exchange rates for other currencies than may be relevant to individual countries that use the U.S. dollar can be added to the text of the "Buy" section of the article.
See also
[edit]- {{exchange rates}} – Useful for displaying non-U.S. dollar currency conversions.