Template:Currency/doc
This is a documentation subpage for Template:Currency. It contains usage information, categories and other content that is not part of the original template page. |
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
editThis template is used to display a monetary value and see the conversion to currencies used by English-speaking countries.
Parameter | Description | Type | Status | |
---|---|---|---|---|
currency | 1 | ISO 4217 code for the currency of the monetary value
| String | required |
amount(s) | 2 | amount of the monetary value; it is also possible to give a range of two values separated by "-"
| String | suggested |