Difference between revisions of "Template:Tprice/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
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"Gold.png100–1,000g

{{Tprice|225}}

data-sort-value="225"Gold.png675–1,125g

{{Tprice|1000000}}

data-sort-value="1000000"Gold.png3,000,000–5,000,000g

{{Tprice|furniture}}

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