Module:Currency/doc

From blackwiki
< Module:Currency
Revision as of 15:18, 7 April 2016 by blackwiki>Trappist the monk (create;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Currency

Usage

This code is invoked from {{Currency/new}}. All of the template parameters are passed in the module's frame.

{{#invoke:Currency|Currency|<amount>|<code>|<first>}}

See the template code for a description of the parameters.

Other modules may use this code. The entry point for other modules is _render_currency (amount, code, long_form). See the function render_currency() for detail.

The data file Module:Currency/Presentation holds required currency presentation characteristics.