Difference between revisions of "Template:Tprice/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
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]].
+
tprice is used to calculate the traveling cart price from the base price of an item and pass it to the [[template:price]].
  
 
==Examples==
 
==Examples==

Revision as of 00:43, 9 November 2017

tprice is used to calculate the traveling cart price from the base price of an item and pass it to the template:price.

Examples

{{tprice|40}}

data-sort-value="40"Gold.png120–1,000g

{{tprice|furniture}}

data-sort-value="furniture"Gold.png250–2,500g

{{tprice|40-20000|math=false}}

data-sort-value="40-20000"Lua error in Module:Tcartprice at line 25: attempt to perform arithmetic on a nil value.