Template:NoCoins/doc
Jump to navigation
Jump to search
The NoCoins template colors a number that represents the amount of coins, but does not show the image of coins. This is useful for designing compact tables without cluttering the page. The amount is formatted with a comma (if the value is greater than 1,000), and with the following (default) colors:
- Red - negative numbers
- Blue - if the number is zero
- Green - positive numbers
Usage
{{NoCoins|Amount=number of coins}}
or
{{NoCoins|number of coins}}
Examples
The following are some examples:
{{NoCoins|Amount=-3000}}
Produces the following result: −3,000
{{NoCoins|Amount=245.50}}
Produces the following result: 245.5
{{NoCoins|Amount=0}}
Produces the following result: 0