Fandom Developers Wiki
Advertisement

Shows information about a particular currency (see ISO 4217).

Description

This extracts information from a json file containing currency information (which might not entirely compliant with the iso standard.

Syntax

{{#invoke:currency|main|<currencycode>|<data>}}

Example

CodeOutput
{{#invoke:currency|main|inr|name}}Indian Rupee

Other options

Data can be any of the arguments defined below.

Argument(<data>) Example output
symbol Rs
name Indian Rupee
symbol_native
decimal_digits 2
rounding 0
code INR
name_plural Indian rupees

Notes

The backend (Module:Currency/data) could probably be improved or changed at a later date.

Advertisement