Template:Coin/doc

Template for showing prices.

Usage
There are 2 API styles:

Style A:

e.g.  means 1 Gold 30 Copper.

Style B:

all are optional.

e.g.  means 1 Gold 25 Silver. e.g.  means 1 Gold 30 Silver.

Other parameters:

round rounded digits, default is 2.

Note

 * This template is table sorting friendly(need  in header). See example table above.
 * It is only designed for positive numbers, input negative values may result in unexpected results.