Difference between revisions of "Template:Price/doc"
(Created page with "==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 on...") |
|||
Line 12: | Line 12: | ||
===Sample=== | ===Sample=== | ||
− | <pre>{{Price| | + | <pre>{{Price|2000}}</pre> |
results in... | results in... | ||
− | {{Price| | + | {{Price|2000}} |
− | <pre>{{Price|2|Upgrade}} | + | <pre>{{Price|2}}k |
+ | |||
+ | {{Price|2|Upgrade}} | ||
{{Price|20|DNA}} </pre> | {{Price|20|DNA}} </pre> | ||
results in... | results in... | ||
+ | |||
+ | {{Price|2}}k | ||
{{Price|2|Upgrade}} | {{Price|2|Upgrade}} |
Revision as of 14:19, 15 January 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 |