Difference between revisions of "Template:Price/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) m (Reverted edits by Daedric (talk) to last revision by Margotbean) Tag: Rollback |
Margotbean (talk | contribs) m (Text replacement - "==Usage==" to "==Use==") |
||
Line 4: | Line 4: | ||
If you want to set the price for items with different qualities in a table, use [[Template:Qualityprice]] instead | If you want to set the price for items with different qualities in a table, use [[Template:Qualityprice]] instead | ||
− | == | + | ==Use== |
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. | ||
Revision as of 21:01, 8 January 2023
Description
This template is used to insert File:Gold.png in-line with text and the letter g after the amount.
If you want to set the price for items with different qualities in a table, use Template:Qualityprice instead
Use
This template can be used by entering the following onto a relevant page.
{{Price|''amount''}}
This template uses by default. To use different in-game currencies, add the appropriate name.
{{Price|''amount''|''currency''}}
Sample
{{Price|30}}
results in...
30g
{{Price|20|JOPK}} {{Price|2000|Qi}}
results in...
20
2,000
Amount
This parameter accepts the amount of money.
Currency
This parameter accepts different currency types, but without input will simply output the standard gold coin.
Input | Output |
---|---|
JOPK | |
Qi | |
Token | |
Walnut | |
Gem |