Template:Gold

From Idle Clans wiki
Revision as of 10:20, 24 May 2024 by Uraxys (talk | contribs) (Created page with "<onlyinclude><includeonly>{{#if: {{{1|}}} | 20px|link=Gold {{#invoke:NumberFormatter|formatNumber|{{{1}}}}} | Error: No value specified in gold template. }}</includeonly></onlyinclude>{{/doc}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Gold|<number>|[max]}}

The first parameter must be a number, if it isn't or is empty, then an error message will be displayed, the second parameter is optional, and is only used when a range is wanted.

Example

Input Output
{{Gold|64}} Gold.png 64
{{Gold|200000}} Gold.png 200,000
{{Gold|1500|10000}} Gold.png 1,500