Difference between revisions of "Template:Tprice/doc"
Jump to navigation
Jump to search
(Created page with "{{tprice|40}}") |
(usage) |
||
Line 1: | Line 1: | ||
+ | tprice is used to calculate the travelling cart price from the base price of an item and pass it to the [[template:price]]. | ||
+ | |||
+ | ==Examples== | ||
+ | |||
+ | <pre>{{tprice|40}}</pre> | ||
+ | |||
{{tprice|40}} | {{tprice|40}} | ||
+ | |||
+ | <pre>{{tprice|furniture}}</pre> | ||
+ | |||
+ | {{tprice|furniture}} | ||
+ | |||
+ | <pre>{{tprice|40-20000|math=false}}</pre> | ||
+ | |||
+ | {{tprice|40-20000|math=false}} |
Revision as of 20:12, 10 October 2016
tprice is used to calculate the travelling cart price from the base price of an item and pass it to the 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.