Difference between revisions of "Template:Price"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 8: | Line 8: | ||
|parameter1name = platinum | |parameter1name = platinum | ||
|parameter1description = The amount in platinum | |parameter1description = The amount in platinum | ||
| | |parameter2name = gold | ||
| | |parameter2description = The amount in gold | ||
| | |parameter3name = silver | ||
| | |parameter3description = The amount in silver | ||
| | |parameter4name = copper | ||
| | |parameter4description = The amount in copper | ||
}} | }} | ||
</noinclude><onlyinclude>{{#if: {{{1|}}}|{{{1}}} [[File:platinum.png]]}}{{#if: {{{2|}}}|{{{2}}} [[File:gold.png]]}}{{#if: {{{3|}}}|{{{3}}} [[File:silver.png]]}}{{#if: {{{4|}}}|{{{4}}} [[File:copper.png]]}}</onlyinclude> | </noinclude><onlyinclude>{{#if: {{{1|}}}|{{{1}}} [[File:platinum.png]] }}{{#if: {{{2|}}}|{{{2}}} [[File:gold.png]] }}{{#if: {{{3|}}}|{{{3}}} [[File:silver.png]] }}{{#if: {{{4|}}}|{{{4}}} [[File:copper.png]] }}</onlyinclude> |
Revision as of 16:05, 17 December 2018
Price[edit]
This template is used to render the cost of something, in in-game currency.
Example Usage | |
{{Price|10|10|10|10}} | 10 ![]() ![]() ![]() ![]() |
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.