Jump to content

Template:Tprice/doc: Difference between revisions

From Stardew Valley Wiki
imported>NibKing
No edit summary
imported>Katzeus
mNo edit summary
Line 15: Line 15:
{{tprice|40-20000|math=false}}
{{tprice|40-20000|math=false}}
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
[[es:Plantilla:{{PAGENAME}}]]
[[ja:テンプレート:{{PAGENAME}}]]
[[pt:Predefinição:{{PAGENAME}}]]
[[ru:Шаблон:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]</includeonly>

Revision as of 23:21, 7 February 2017

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}}

data-sort-value="40"120–1,000g

{{tprice|furniture}}

data-sort-value="furniture"250–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.