Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (allow for description template to populate the description field) |
Margotbean (talk | contribs) (allow clicking on image in infobox to go to image) |
||
Line 3: | Line 3: | ||
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | |colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|48px|center | + | |colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|48px|center]]|}} |
|- | |- | ||
|colspan=2 align="center" id="infoboxdetail" style="font-style:italic;" |{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | |colspan=2 align="center" id="infoboxdetail" style="font-style:italic;" |{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
Revision as of 17:57, 1 October 2018
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 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:
|
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 |