Jump to content

Template:Exchange rate USD/doc

From Wikivoyage

This template shows exchange rates for the U.S. dollar. It should only be used in main articles for countries, overseas territories and dependencies that use the U.S. dollar as their national currency. It should be placed in the "Buy" section of the article.

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:

  • €1 ≈ $1.10
  • UK£1 ≈ $1.27
  • AU$1 ≈ $0.68
  • CA$1 ≈ $0.76
  • Japanese ¥100 ≈ $0.71

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:

  • UK£1 ≈ $1.27
  • AU$1 ≈ $0.68
  • CA$1 ≈ $0.76
  • Japanese ¥100 ≈ $0.71

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.