Module:Currency/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
== Usage == |
== Usage == |
||
{{ |
{{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|Currency|<''amount''>|<''code''>|<''first''>|<''linked''>}}</code> |
:<code><nowiki>{{</nowiki>#invoke:Currency|Currency|<''amount''>|<''code''>|<''first''>|<''linked''>}}</code> |
Revision as of 06:23, 19 May 2018
Usage
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>}}
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.