Template:Price/doc

From Stardew Valley Wiki
< Template:Price
Revision as of 03:49, 20 March 2016 by Zornor (talk | contribs) (covering parameter changes)
Jump to navigation Jump to search

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 Gold.png by default. To use different in-game currencies, add the appropriate name.

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

Sample

{{Price|30}}

results in...

data-sort-value="30">Gold.png30g

{{Price|20|JOPK}}

{{Price|20|Qi}} 

results in...

data-sort-value="20">JOPKCoin1.png20

data-sort-value="20">QiCoin.png20

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
Gold.png
JOPK JOPKCoin1.png
Qi QiCoin.png