Template:Coins short/doc

The Coins short template shows an amount of coins with a preview image and shortens the number to k (if > 100,000) or M (if > 10,000,000) with two decimals. As the icon interferes with line-height, it should only be used in wikitables. The amount is formatted with a comma (if the value is greater than 1,000), and with the following colours:


 * Blue - positive numbers
 * Green - if the number is zero
 * Red - negative numbers

Usage
Precise is an optional "yes" or "no" with a default of "no". If this value is yes then this templates behaves the same as Coins and wont shorten the number to k or M.

Examples
The following are some examples:

245.50 produces the following result:

2456789 produces the following result:

123456789 produces the following result:

123456789 produces the following result:

0 produces the following result:

-3000 produces the following result: