Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (added default case for season icons) |
Margotbean (talk | contribs) (Added optional sell price, header for purchase prices) |
||
Line 24: | Line 24: | ||
|winter|Winter|[[winter]]|[[Winter]] = [[File:Winter.png|24px|link=]] [[Winter]] | |winter|Winter|[[winter]]|[[Winter]] = [[File:Winter.png|24px|link=]] [[Winter]] | ||
|#default = {{{season|}}} | |#default = {{{season|}}} | ||
− | }} | {{{season|N/A}}} | N/A | + | }} | {{{season|N/A}}} | N/A}} |
− | }} | + | {{#if:{{{sellprice|}}}|<nowiki/> |
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Sell Price: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{#ifexist:{{{sellprice|}}}|[[{{{sellprice|}}}]]|{{{sellprice|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | |colspan=2 id="infoboxsection" style="text-align:center;"|Purchase Prices | ||
|- | |- | ||
|id="infoboxsection"|[[Pierre%27s_General_Store|<span style="color:white;">General Store Price</span>]] | |id="infoboxsection"|[[Pierre%27s_General_Store|<span style="color:white;">General Store Price</span>]] |
Revision as of 22:20, 17 February 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 |