Difference between revisions of "Template:Price"

From DDO Compendium
Line 4: Line 4:
|description = This template is used to render the cost of something, in in-game currency.
|description = This template is used to render the cost of something, in in-game currency.
|category=Shared Templates
|category=Shared Templates
|example1=<nowiki>{{Price|10|10|10|10}}</nowiki>
|example1=<nowiki>{{Price|1000|1000|1000|1000}}</nowiki>
|example1output={{Price|10|10|10|10}}
|example1output={{Price|1000|1000|1000|1000}}
|parameter1name = platinum
|parameter1name = platinum
|parameter1description = The amount in platinum
|parameter1description = The amount in platinum

Revision as of 18:11, 17 December 2018


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 Platinum.png 1,000 Gold.png 1,000 Silver.png 1,000 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.