Line 1: |
Line 1: |
− | tprice is used to calculate the travelling cart price from the base price of an item and pass it to the [[template:price]].
| + | Tprice is used to calculate the traveling cart price from the base price of an item. This template also adds a gold coin icon and a language-appropriate symbol for gold. |
| | | |
| ==Examples== | | ==Examples== |
− | | + | <pre>{{Tprice|2}}</pre> |
− | <pre>{{tprice|40}}</pre> | + | {{Tprice|2}} |
− | | + | <pre>{{Tprice|225}}</pre> |
− | {{tprice|40}} | + | {{Tprice|225}} |
− | | + | <pre>{{Tprice|1000000}}</pre> |
− | <pre>{{tprice|furniture}}</pre> | + | {{Tprice|1000000}} |
− | | + | <pre>{{Tprice|furniture}}</pre> |
− | {{tprice|furniture}} | + | {{Tprice|furniture}} |
− | | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | <pre>{{tprice|40-20000|math=false}}</pre> | |
− | | |
− | {{tprice|40-20000|math=false}} | |