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

From Stardew Valley Wiki
Jump to navigation Jump to search
m (Protected "Template:Infobox seed/doc": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
This template is used to provide a template that displays an infobox for seed.
+
This template displays an infobox for seeds. '''Do not use this on your user page. It is reserved for content pages.'''
  
==Usage==
+
==Parameters==
This template can be used by entering the following onto a relevant page.
+
{|class="wikitable sortable"
 
+
|-
<pre>{{Infobox seed
+
!Parameter!!Notes
|image      =  
+
|-
|crop        =
+
|name||Name of seed (Name of page if omitted)
|growth      =
+
|-
|season      =
+
|image||Name of image, including extension
|sellprice  =
+
|-
|gPrice      =
+
|description||Description of seed (Automatically filled via [[:Template:Description]] if omitted)
|jPrice      =
+
|-
|tPrice      =
+
|crop||Crop that grows from the seed
|description =
+
|-
}}</pre>
+
|growth||Time to grow to maturity
 
+
|-
===Parameters===
+
|season||Season in which the seed will grow
<pre>{{Infobox seed
+
|-
|image    =
+
|sellprice||Sell Price
|crop     = Crop produced
+
|-
|growth   = Growth time
+
|gPrice||Purchase price at [[Pierre's General Store]] (''e.g.,'' <nowiki>{{Price|40}}</nowiki>)
|season   = Season grown in
+
|-
|sellprice = Gold obtained when placing the seed in the Shipping Box or selling to Pierre (optional)
+
|jPrice||Purchase price at [[JojaMart]] (''e.g.,'' <nowiki>{{Price|40}}</nowiki>)
|gPrice    = General store price
+
|-
|jPrice    = JojaMart price
+
|oPrice||Purchase price at the [[Oasis]] (''e.g.,'' <nowiki>{{Price|40}}</nowiki>)
|tPrice    = Travelling cart price
+
|-
|description = Description
+
|tPrice||Purchase price at the [[Traveling Cart]] (''e.g.,'' <nowiki>{{Tprice|40}}</nowiki>)
}}</pre>
+
|-
 
+
|iPrice||Purchase price at the [[Island Trader]]
==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
+
|nmday||Day(s) sold at the [[Night Market]]
|image      = Parsnip Seeds.png
+
|-
|crop        = [[Parsnip]]
+
|otherprice||Purchase price at any other vendor (''e.g.,'' [[Qi's Walnut Room]] for {{Price|10|Gem}})
|growth      = 4 days
+
|-
|season      = [[Spring]]
+
|type||For use on the [[Sunflower Seeds]] page, set to "Sunflower Seeds"<br />Will display an "Artisan Goods" section that includes [[Oil]]
|sellprice  = {{Price|10}}
+
|-
|gPrice      = {{Price|20}}
+
|source||Set to "Crafting" to display a Crafting section that shows:
|jPrice     = {{Price|25}}
+
*Recipe Name
|oPrice     = {{Price|35}}
+
*Recipe Source
|tPrice     = {{tprice|10}}
+
*Ingredients
|description = Plant these in the Spring. Takes 4 days to mature
+
*Produces
}}</pre>
+
|-
{{Clear}}
+
|recipename||Recipe name (part of the "Crafting" section)
 
+
|-
{{Infobox seed
+
|recipe||Recipe source (part of the "Crafting" section)
|name        = Parsnip Seeds
+
|-
|image      = Parsnip Seeds.png
+
|ingredients||Ingredients (part of the "Crafting" section)
|crop        = [[Parsnip]]
+
|-
|growth      = 4 days
+
|produces||Name of product produced (part of the "Crafting" section)<br />For use when crafting produces >1 seed
|season      = [[Spring]]
+
|-
|sellprice  = {{Price|10}}
+
|}<includeonly>[[Category:Infobox templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
|gPrice      = {{Price|20}}
 
|jPrice      = {{Price|25}}
 
|oPrice      = {{Price|35}}
 
|tPrice      = {{tprice|10}}
 
|description = Plant these in the Spring. Takes 4 days to mature
 
}}
 
{{Clear}}
 
 
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
 
[[es:Plantilla:{{PAGENAME}}]]
 
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
 
[[zh:Template:{{PAGENAME}}]]</includeonly>
 

Latest revision as of 07:27, 4 June 2024

Description

This template displays an infobox for seeds. Do not use this on your user page. It is reserved for content pages.

Parameters

Parameter Notes
name Name of seed (Name of page if omitted)
image Name of image, including extension
description Description of seed (Automatically filled via Template:Description if omitted)
crop Crop that grows from the seed
growth Time to grow to maturity
season Season in which the seed will grow
sellprice Sell Price
gPrice Purchase price at Pierre's General Store (e.g., {{Price|40}})
jPrice Purchase price at JojaMart (e.g., {{Price|40}})
oPrice Purchase price at the Oasis (e.g., {{Price|40}})
tPrice Purchase price at the Traveling Cart (e.g., {{Tprice|40}})
iPrice Purchase price at the Island Trader
nmday Day(s) sold at the Night Market
otherprice Purchase price at any other vendor (e.g., Qi's Walnut Room for data-sort-value="10">Qi Gem.png 10)
type For use on the Sunflower Seeds page, set to "Sunflower Seeds"
Will display an "Artisan Goods" section that includes Oil
source Set to "Crafting" to display a Crafting section that shows:
  • Recipe Name
  • Recipe Source
  • Ingredients
  • Produces
recipename Recipe name (part of the "Crafting" section)
recipe Recipe source (part of the "Crafting" section)
ingredients Ingredients (part of the "Crafting" section)
produces Name of product produced (part of the "Crafting" section)
For use when crafting produces >1 seed