Difference between revisions of "Template:Infobox seed/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Add description to 'tPrice' and an example)
Line 12: Line 12:
 
|gPrice      =  
 
|gPrice      =  
 
|jPrice      =  
 
|jPrice      =  
 +
|tPrice      =
 
|description =  
 
|description =  
 
}}</pre>
 
}}</pre>
Line 18: Line 19:
 
<pre>{{Infobox seed
 
<pre>{{Infobox seed
 
|image  =  
 
|image  =  
|crop  = Crop price
+
|crop  = Crop produced
|growth = Growth Time
+
|growth = Growth time
 
|season = Season grown in
 
|season = Season grown in
|gPrice = General Store Cost
+
|gPrice = General store price
|jPrice = JojaMart Cost
+
|jPrice = JojaMart price
 +
|tPrice = Travelling cart price
 
|description = Description
 
|description = Description
 
}}</pre>
 
}}</pre>
 +
 +
==Example==
 +
<pre estyle="margin-right:325px;border:1px solid silver;white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word;">{{Infobox seed
 +
|image      = Parsnip Seeds.png
 +
|crop        = [[Parsnip]]
 +
|growth      = 4 days
 +
|season      = [[Spring]]
 +
|gPrice      = {{Price|20}}
 +
|jPrice      = {{Price|25}}
 +
|tPrice      = {{Price|100-900}}
 +
|description = Plant these in the Spring. Takes 4 days to mature
 +
}}</pre>
 +
{{Clear}}
 +
 +
{{Infobox seed
 +
|name        = Parsnip Seeds
 +
|image      = Parsnip Seeds.png
 +
|crop        = [[Parsnip]]
 +
|growth      = 4 days
 +
|season      = [[Spring]]
 +
|gPrice      = {{Price|20}}
 +
|jPrice      = {{Price|25}}
 +
|tPrice      = {{Price|100-900}}
 +
|description = Plant these in the Spring. Takes 4 days to mature
 +
}}
 +
{{Clear}}
  
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 20:00, 24 April 2016

Description

This template is used to provide a template that displays an infobox for seed.

Usage

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

{{Infobox seed
|image       = 
|crop        = 
|growth      = 
|season      = 
|gPrice      = 
|jPrice      = 
|tPrice      = 
|description = 
}}

Parameters

{{Infobox seed
|image  = 
|crop   = Crop produced
|growth = Growth time
|season = Season grown in
|gPrice = General store price
|jPrice = JojaMart price
|tPrice = Travelling cart price
|description = Description
}}

Example

{{Infobox seed
|image       = Parsnip Seeds.png
|crop        = [[Parsnip]]
|growth      = 4 days
|season      = [[Spring]]
|gPrice      = {{Price|20}}
|jPrice      = {{Price|25}}
|tPrice      = {{Price|100-900}}
|description = Plant these in the Spring. Takes 4 days to mature
}}
Parsnip Seeds
Parsnip Seeds.png
Plant these in the Spring. Takes 4 days to mature
Information
Crop: Parsnip
Growth Time: 4 days
Season:

Spring.png Spring

Purchase Prices
Pierre Icon.png General Store: data-sort-value="20">Gold.png20g
Morris Icon.png JojaMart: data-sort-value="25">Gold.png25g
Traveling Cart Icon.png Traveling Cart: data-sort-value="100-900">Gold.png-800g