Difference between revisions of "Template:Tprice"
Jump to navigation
Jump to search
(Created page with "<includeonly><span class="sortkey" style="display:none;">{{#len:{{{1|}}}}}{{{1|}}}</span><span class="no-wrap"> 24px|alt=Coin Icon|link={{formatnum: {{#if:{{...") |
|||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>{{#if:{{{1|}}}|{{price|{{#ifeq:{{{1|}}}|furniture| |
− | |||
− | |||
250-2500 | 250-2500 | ||
| | | | ||
Line 8: | Line 6: | ||
100 | 100 | ||
| | | | ||
− | {{{ | + | {{{1|}}}*3 |
}} | }} | ||
}}-{{#expr: | }}-{{#expr: | ||
Line 15: | Line 13: | ||
| | | | ||
{{{1|}}}*5 | {{{1|}}}*5 | ||
− | }} }} }} }} }} }} | + | }} }} }} }} }} }} |
</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | </includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 19:49, 10 October 2016
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}}
-900g
{{Tprice|225}}
-450g
{{Tprice|1000000}}
-2,000,000g
{{Tprice|furniture}}
-2,250g