Difference between revisions of "Template:Price/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation}} This template is used to insert File:Money.png in-line with text. ==Usage== This template can be used by entering the following onto a relevant page....")
 
Line 1: Line 1:
{{Documentation}}
+
==Description==
 
This template is used to insert [[:File:Money.png]] in-line with text.
 
This template is used to insert [[:File:Money.png]] in-line with text.
  
Line 5: Line 5:
 
This template can be used by entering the following onto a relevant page.
 
This template can be used by entering the following onto a relevant page.
  
<pre>{{Money|''amount''}}</pre>
+
<pre>{{Price|''amount''}}</pre>
  
==amount==
+
===Sample===
 +
<pre> {{Price|30}}</pre>
 +
results in...
 +
 
 +
{{Price|30}}
 +
 
 +
==Amount==
 
This parameter accepts the amount of money.
 
This parameter accepts the amount of money.
  
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 01:38, 1 March 2016

Description

This template is used to insert File:Money.png in-line with text.

Usage

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

{{Price|''amount''}}

Sample

 {{Price|30}}

results in...

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

Amount

This parameter accepts the amount of money.