Jump to content

Template:Price/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
add golden walnuts & qi gems
Line 49: Line 49:
|Token
|Token
|[[File:Token.png|24px|link=]]
|[[File:Token.png|24px|link=]]
|-
|Walnut
|[[File:Golden Walnut.png|24px|link=]]
|-
|Gem
|[[File:Qi Gem.png|24px|link=]]
|}
|}


<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}</includeonly>
<includeonly>{{Addlanglinks}}</includeonly>

Revision as of 22:18, 21 December 2020

Description

This template is used to insert File:Gold.png in-line with text and the letter g after the amount.

If you want to set the price for items with different qualities in a table, use Template:Qualityprice instead

Usage

This template can be used by entering the following onto a relevant page.

{{Price|''amount''}}

This template uses by default. To use different in-game currencies, add the appropriate name.

{{Price|''amount''|''currency''}}

Sample

{{Price|30}}

results in...

data-sort-value="30">30g

{{Price|20|JOPK}}

{{Price|2000|Qi}} 

results in...

data-sort-value="20">20

data-sort-value="2000">2,000

Amount

This parameter accepts the amount of money.

Currency

This parameter accepts different currency types, but without input will simply output the standard gold coin.

Input Output
JOPK
Qi
Token
Walnut
Gem