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

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 40: Line 40:
 
}}</pre>
 
}}</pre>
  
==Example==
+
==Examples==
 
<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
 
<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
 
|image      = Parsnip Seeds.png
Line 69: Line 69:
 
}}
 
}}
 
{{Clear}}
 
{{Clear}}
 +
<pre>
 +
{{Infobox seed
 +
|name        = Summer Seeds
 +
|image      = Summer Seeds.png
 +
|crop        = [[Grape]], [[Spice Berry]], or [[Sweet Pea]]
 +
|growth      = 7 days
 +
|season      = [[Summer]]
 +
|sellprice  = {{price|55}}
 +
|gPrice      = Not Sold
 +
|jPrice      = Not Sold
 +
|tPrice      = {{tprice|55}}
 +
|description = An assortment of wild summer seeds.
 +
|source      = crafting
 +
|recipe      = [[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 4
 +
|ingredients = {{name|Spice Berry|1}}{{name|Grape|1}}{{name|Sweet Pea|1}}
 +
|recipename  = [[Crafting#Seeds|Wild Seeds (Su)]]
 +
|produces    = 10 Summer Seeds per craft
 +
}}</pre>
 +
 +
{{Infobox seed
 +
|name        = Summer Seeds
 +
|image      = Summer Seeds.png
 +
|crop        = [[Grape]], [[Spice Berry]], or [[Sweet Pea]]
 +
|growth      = 7 days
 +
|season      = [[Summer]]
 +
|sellprice  = {{price|55}}
 +
|gPrice      = Not Sold
 +
|jPrice      = Not Sold
 +
|tPrice      = {{tprice|55}}
 +
|description = An assortment of wild summer seeds.
 +
|source      = crafting
 +
|recipe      = [[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 4
 +
|ingredients = {{name|Spice Berry|1}}{{name|Grape|1}}{{name|Sweet Pea|1}}
 +
|recipename  = [[Crafting#Seeds|Wild Seeds (Su)]]
 +
|produces    = 10 Summer Seeds per craft
 +
|debug mode  = y
 +
}}
  
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:38, 22 April 2017

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      = 
|sellprice   =
|gPrice      = 
|jPrice      = 
|tPrice      = 
|description = 
|source      = 
|recipe      = 
|ingredients = 
|recipename  = 
|produces    = 
}}

Parameters

{{Infobox seed
|image     = 
|crop      = Crop produced
|growth    = Growth time
|season    = Season grown in
|sellprice = Gold obtained when placing the seed in the Shipping Box or selling to Pierre (optional)
|gPrice    = General store price
|jPrice    = JojaMart price
|tPrice    = Travelling cart price
|description = Description
|source      = crafting (optional)
|recipe      = crafting recipe source (optional)
|ingredients = Ingredients (optional)
|recipename  = name of recipe in crafting menu (optional)
|produces    = name of product produced by crafting (optional)
}}

Examples

{{Infobox seed
|image       = Parsnip Seeds.png
|crop        = [[Parsnip]]
|growth      = 4 days
|season      = [[Spring]]
|sellprice   = {{Price|10}}
|gPrice      = {{Price|20}}
|jPrice      = {{Price|25}}
|oPrice      = {{Price|35}}
|tPrice      = {{tprice|10}}
|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

Sell Price: data-sort-value="10">Gold.png10g
Purchase Prices
Pierre Icon.png General Store: data-sort-value="20">Gold.png20g
Morris Icon.png JojaMart: data-sort-value="25">Gold.png25g
Sandy Icon.png Oasis: data-sort-value="35">Gold.png35g
Traveling Cart Icon.png Traveling Cart: data-sort-value="10"Gold.png100–1,000g
{{Infobox seed
|name        = Summer Seeds
|image       = Summer Seeds.png
|crop        = [[Grape]], [[Spice Berry]], or [[Sweet Pea]]
|growth      = 7 days
|season      = [[Summer]]
|sellprice   = {{price|55}}
|gPrice      = Not Sold
|jPrice      = Not Sold
|tPrice      = {{tprice|55}}
|description = An assortment of wild summer seeds.
|source      = crafting
|recipe      = [[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 4
|ingredients = {{name|Spice Berry|1}}{{name|Grape|1}}{{name|Sweet Pea|1}}
|recipename  = [[Crafting#Seeds|Wild Seeds (Su)]]
|produces    = 10 Summer Seeds per craft
}}
Summer Seeds
Summer Seeds.png
An assortment of wild summer seeds.
Information
Crop: Grape, Spice Berry, or Sweet Pea
Growth Time: 7 days
Season:

Summer.png Summer

Sell Price: data-sort-value="55">Gold.png55g
Purchase Prices
Pierre Icon.png General Store: Not Sold
Morris Icon.png JojaMart: Not Sold
Traveling Cart Icon.png Traveling Cart: data-sort-value="55"Gold.png165–1,000g
Crafting
Recipe Name: Wild Seeds (Su)
Recipe Source: Foraging Skill Icon.png Foraging Level 4
Ingredients: Spice Berry.png Spice Berry (1)Grape.png Grape (1)Sweet Pea.png Sweet Pea (1)
Produces: 10 Summer Seeds per craft