Difference between revisions of "Template:Price"
From DDO Compendium
m (add hover caption on currency images) |
m |
||
Line 15: | Line 15: | ||
|parameter4description = The amount in copper | |parameter4description = The amount in copper | ||
}} | }} | ||
</noinclude><onlyinclude>{{#if: {{{1|}}}|{{formatnum:{{{1}}}}} [[File:platinum.png|link=|Platinum]] }}{{#if: {{{2|}}}|{{formatnum:{{{2}}}}} [[File:gold.png|link=|Gold]] }}{{#if: {{{3|}}}|{{formatnum:{{{3}}}}} [[File:silver.png|link=|Silver]] }}{{#if: {{{4|}}}|{{formatnum:{{{4}}}}} [[File:copper.png|link=|Copper]] | </noinclude><onlyinclude>{{#if: {{{1|}}}|{{formatnum:{{{1}}}}} [[File:platinum.png|link=|Platinum]] }}{{#if: {{{2|}}}|{{formatnum:{{{2}}}}} [[File:gold.png|link=|Gold]] }}{{#if: {{{3|}}}|{{formatnum:{{{3}}}}} [[File:silver.png|link=|Silver]] }}{{#if: {{{4|}}}|{{formatnum:{{{4}}}}} [[File:copper.png|link=|Copper]]}}</onlyinclude> |
Revision as of 11:12, 26 February 2020
Price[edit]
This template is used to render the cost of something, in in-game currency.
Example Usage | |
{{Price|1000|1000|1000|1000}} | 1,000 ![]() ![]() ![]() ![]() |
Usage[edit]
{{Price|(platinum)|(gold)|(silver)|(copper)}}
Parameter Documentation | |
platinum | The amount in platinum |
gold | The amount in gold |
silver | The amount in silver |
copper | The amount in copper |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.