Difference between revisions of "Template:Tprice"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) |
||
Line 2: | Line 2: | ||
| [[File:Gold.png|18px|link=]]{{formatnum: | | [[File:Gold.png|18px|link=]]{{formatnum: | ||
{{#ifeq:{{{1|}}}|furniture | {{#ifeq:{{{1|}}}|furniture | ||
− | | | + | | 250–2500 |
| {{#ifeq:{{{math|true}}}|false | | {{#ifeq:{{{math|true}}}|false | ||
| {{{1|}}} | | {{{1|}}} | ||
Line 10: | Line 10: | ||
| {{{1|}}}*3 | | {{{1|}}}*3 | ||
}} | }} | ||
− | }} | + | }}–{{#expr: |
{{#ifexpr:1000>{{{1|}}}*5 | {{#ifexpr:1000>{{{1|}}}*5 | ||
| 1000 | | 1000 |
Revision as of 04:44, 10 February 2023
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