Fandom

Wikia Developers Wiki

Global Lua Modules/Currency

< Global Lua Modules

888pages on
this wiki
Add New Page
Talk0 Share

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.