Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (Don't include category by default.) |
Margotbean (talk | contribs) (add crafting parameters for crafted seeds) |
||
Line 44: | Line 44: | ||
|id="infoboxsection" style="padding-left: 5px; white-space: nowrap;"|[[File:Traveling Cart Icon.png|24px|link=]] [[Travelling Cart|<span style="color:white;">Travelling Cart</span>]]: | |id="infoboxsection" style="padding-left: 5px; white-space: nowrap;"|[[File:Traveling Cart Icon.png|24px|link=]] [[Travelling Cart|<span style="color:white;">Travelling Cart</span>]]: | ||
|id="infoboxdetail"|{{#if:{{{tPrice|}}}|{{{tPrice|Not sold}}}|Not sold}} | |id="infoboxdetail"|{{#if:{{{tPrice|}}}|{{{tPrice|Not sold}}}|Not sold}} | ||
+ | {{#ifeq:{{lc:{{{source|}}}}} | crafting | | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" colspan="2" style="text-align: center;"{{!}}Crafting | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Recipe Source: | ||
+ | {{!}}{{{recipe|}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Ingredients: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}} | ||
+ | |}} | ||
|}{{InfoboxSEO}}{{#seo: | |}{{InfoboxSEO}}{{#seo: | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</div></includeonly> | }}</div></includeonly> | ||
− | <noinclude> | + | <noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
− | {{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 08:59, 22 April 2017
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 |