Difference between revisions of "Template:Price/doc"
Line 49: | Line 49: | ||
|[[File:DNA Fragment Icon.png|18px|link=]] | |[[File:DNA Fragment Icon.png|18px|link=]] | ||
|} | |} | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 12:11, 30 March 2021
Contents
Description
This template is used to insert File:Money Icon.png in-line with text before the amount.
Usage
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|2000}}
results in...
2,000
{{Price|2}}k {{Price|2|Upgrade}} {{Price|20|DNA}}
results in...
2k
2
20
Amount
This parameter accepts the amount of currency.
Currency
This parameter accepts different currency types, but without input will simply output Zipher (money).
Input | Output |
---|---|
Upgrade | |
DNA |