Jump to content

Template:Tprice/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
 
Line 2: Line 2:


==Examples==
==Examples==
<pre>{{Tprice|40}}</pre>
<pre>{{Tprice|2}}</pre>
 
{{Tprice|2}}
{{Tprice|40}}
<pre>{{Tprice|225}}</pre>
 
{{Tprice|225}}
<pre>{{Tprice|1000000}}</pre>
{{Tprice|1000000}}
<pre>{{Tprice|furniture}}</pre>
<pre>{{Tprice|furniture}}</pre>
{{Tprice|furniture}}
{{Tprice|furniture}}
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:03, 17 June 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}}

data-sort-value="2"100–1,000g

{{Tprice|225}}

data-sort-value="225"675–1,125g

{{Tprice|1000000}}

data-sort-value="1000000"3,000,000–5,000,000g

{{Tprice|furniture}}

data-sort-value="furniture"250–2,500g