Template:Tprice/doc: Difference between revisions
Appearance
imported>Margotbean No edit summary |
imported>Margotbean No edit summary |
||
| Line 1: | Line 1: | ||
Tprice is used to calculate the traveling cart price from the base price of an item and pass it to [[:Template:Price]]. | |||
==Examples== | ==Examples== | ||
<pre>{{Tprice|40}}</pre> | |||
{{Tprice|40}} | |||
{{ | <pre>{{Tprice|furniture}}</pre> | ||
{{Tprice|furniture}} | |||
{{ | <pre>{{Tprice|40-20000|math=false}}</pre> | ||
{{Tprice|40-20000|math=false}} | |||
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||
{{ | |||
<noinclude>[[Category:Template documentation]]</noinclude | |||
Revision as of 21:26, 8 January 2023
Tprice is used to calculate the traveling cart price from the base price of an item and pass it to Template:Price.
Examples
{{Tprice|40}}
120–1,000g
{{Tprice|furniture}}
250–2,500g
{{Tprice|40-20000|math=false}}
Lua error in Module:Tcartprice at line 25: attempt to perform arithmetic on a nil value.