Template:Gold/doc

From Idle Clans wiki
< Template:Gold
Revision as of 11:07, 24 May 2024 by Uraxys (talk | contribs)
(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-10,000