Difference between revisions of "Template:Tprice"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) (remove unused parameter) |
||
Line 3: | Line 3: | ||
{{#ifeq:{{{1|}}}|furniture | {{#ifeq:{{{1|}}}|furniture | ||
| 250–2500 | | 250–2500 | ||
− | + | | {{#expr: | |
− | |||
− | |||
{{#ifexpr:100>{{{1|}}}*3 | {{#ifexpr:100>{{{1|}}}*3 | ||
| 100 | | 100 | ||
Line 17: | Line 15: | ||
}} | }} | ||
}} | }} | ||
− | |||
}}g | }}g | ||
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 02:03, 25 April 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