Module:Currency/doc: Difference between revisions
Appearance
Content deleted Content added
Psiĥedelisto (talk | contribs) +passthrough |
Corrected an error in the docs. Using uppercase did not work, while lowercase did. |
||
Line 1: | Line 1: | ||
{{Lua sidebar}} |
{{Lua sidebar}} |
||
This code is invoked from {{tlx|Currency}}. All of the template parameters are passed in the module's frame. |
This code is invoked from {{tlx|Currency}}. All of the template parameters are passed in the module's frame. |
||
:<code><nowiki>{{</nowiki>#invoke:Currency| |
:<code><nowiki>{{</nowiki>#invoke:Currency|currency|<''amount''>|<''code''>|<''first''>|<''linked''>|<''passthrough''>}}</code> |
||
See the template code for a description of the parameters. |
See the template code for a description of the parameters. |
||
Revision as of 16:36, 14 July 2021
Related pages |
---|
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.