Jump to content

Module:Currency/doc

From Nordic Larp Wiki
Revision as of 21:01, 29 August 2024 by Nordic Larp Wiki>Warudo (Added the page to Category:Module documentation pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Currency

Template:High-use Template:Lua sidebar This code is invoked from {{Currency}}. All of the template parameters are passed in the module's frame.

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

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, linked). See the function render_currency() for detail.

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