Template:Price/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
Displays a gold amount using the standard gold icon followed by the number and g.

Usage

{{Price|250}}
250 G
Supply only the number. Use 0 for a zero price. Leave nonnumeric statuses such as “Cannot be sold” as text in their price field.
Price fields in the standard item, weapon, armor and legacy item infoboxes accept plain numbers, for example |buy_price=250. Shared price-table columns and infobox price values are centered; a price used in a sentence stays inline.

Quality values

The optional second, third and fourth arguments preserve the existing Regular, Silver, Gold and Void quality presentation:
{{Price|3|4|6|7}}
3 G
250 G remains supported as a compatibility wrapper.