Difference between revisions of "Template:Price"

From DDO Compendium
Line 8: Line 8:
|parameter1name = platinum
|parameter1name = platinum
|parameter1description = The amount in platinum
|parameter1description = The amount in platinum
|parameter1name = gold
|parameter2name = gold
|parameter1description = The amount in gold
|parameter2description = The amount in gold
|parameter1name = silver
|parameter3name = silver
|parameter1description = The amount in silver
|parameter3description = The amount in silver
|parameter1name = copper
|parameter4name = copper
|parameter1description = The amount in 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]]&nbsp;}}{{#if: {{{2|}}}|{{{2}}} [[File:gold.png]]&nbsp;}}{{#if: {{{3|}}}|{{{3}}} [[File:silver.png]]&nbsp;}}{{#if: {{{4|}}}|{{{4}}} [[File:copper.png]]&nbsp;}}</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 Platinum.png 10 Gold.png 10 Silver.png 10 Copper.png 

Usage[edit]

{{Price|(platinum)|(gold)|(silver)|(copper)}}

Parameter Documentation
platinumThe amount in platinum
goldThe amount in gold
silverThe amount in silver
copperThe 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.