Template:Currency/doc

From Wikivoyage
Jump to navigation Jump to search

This template is used to display a monetary value of a given currency and see the conversion to currencies used by English-speaking countries on mouseover. The amount given can be a single number or a range of two values separated by "-".

Examples:

  • "{{currency|JOD|2}}" will give you: 2 JD.
  • "{{currency|JOD|30-40}}" will give you: 30-40 JD.

TemplateData[edit]

This template is used to display a monetary value and see the conversion to currencies used by English-speaking countries.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
currency1

ISO 4217 code for the currency of the monetary value

Example
ARS
Stringrequired
amount(s)2

amount of the monetary value; it is also possible to give a range of two values separated by "-"

Default
1
Example
30-40
Stringsuggested