Template:Coindisplay/doc: Difference between revisions
From IdleOn MMO Wiki
(Added documentation for usage with examples.) |
No edit summary |
||
Line 1: | Line 1: | ||
The | The ''Coindisplay'' template displays the coin representation of a value. | ||
== | ==Usage== | ||
{{TemplatePreview|Coindisplay|value}} | |||
== | ===Parameters=== | ||
* '''value:''' The quantity to format. This can be specified in any of the formats supported by [[Module:NumberParser]]. | |||
==Examples== | |||
{| class="wikitable" width=80% | {| class="wikitable" width=80% | ||
! Template !! Result | ! Template !! Result |
Latest revision as of 21:21, 11 March 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}} |
12 75 2 50 |
{{Coindisplay|2.7e15}} |
27 |
{{Coindisplay|15T}} |
15 |