Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
(Replaced content with "{{#invoke:Loops|coinDisplay |coins={{{1|0}}} }}")
(Attached documentation page to template.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Loops|coinDisplay
<includeonly>{{#invoke:CoinDisplay|main}}</includeonly><noinclude>{{/doc}}</noinclude>
|coins={{{1|0}}}
}}

Latest revision as of 23:03, 13 June 2024

The Coindisplay template displays the coin representation of a value.

Usage

{{Coindisplay|value}}

Parameters

  • value: The quantity to format. This can be specified in any of the formats supported by Module:NumberParser.

Examples

Template Result
{{Coindisplay|12750250}} Platinum Coin.png12 Gold Coin.png75 Silver Coin.png2 Copper Coin.png50
{{Coindisplay|2.7e15}} Starfire Coin.png27
{{Coindisplay|15T}} Lustre Coin.png15