Template:Tprice: Difference between revisions
Appearance
imported>Margotbean I completely broke this template when I edited Template:price. I have half-fixed it with this change. |
imported>Margotbean Removed extra space between gold icon and price |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}} | <includeonly>{{#if:{{{1|}}} | ||
| [[File:Gold.png|24px|alt=Coin Icon|link=]] {{formatnum: | | [[File:Gold.png|24px|alt=Coin Icon|link=]]{{formatnum: | ||
{{#ifeq:{{{1|}}}|furniture | {{#ifeq:{{{1|}}}|furniture | ||
| 250-2500 | | 250-2500 | ||
Revision as of 09:50, 22 January 2017
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
{{Tprice|2}}
100−1,000g
{{Tprice|225}}
675−1,125g
{{Tprice|1000000}}
3,000,000−5,000,000g
{{Tprice|furniture}}
250−2,500g