Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) |
||
Line 18: | Line 18: | ||
|id="infoboxdetail"| | |id="infoboxdetail"| | ||
{{#if:{{{season|}}}| | {{#if:{{{season|}}}| | ||
− | {{#switch: {{{season|}}} | + | {{#switch: {{lc:{{{season|}}}}} |
− | |spring | + | |spring|[[spring]] = [[File:Spring.png|24px|link=]] [[Spring]] |
− | |summer | + | |summer|[[summer]] = [[File:Summer.png|24px|link=]] [[Summer]] |
− | |fall | + | |fall|[[fall]]|autumn|[[autumn]] = [[File:Fall.png|24px|link=]] [[Fall]] |
− | |winter | + | |winter|[[winter]] = [[File:Winter.png|24px|link=]] [[Winter]] |
|#default = {{{season|}}} | |#default = {{{season|}}} | ||
}} | {{{season|N/A}}} | N/A}} | }} | {{{season|N/A}}} | N/A}} | ||
Line 39: | Line 39: | ||
|id="infoboxdetail"|{{#if:{{{jPrice|}}}|{{{jPrice|Not sold}}}|Not sold}} | |id="infoboxdetail"|{{#if:{{{jPrice|}}}|{{{jPrice|Not sold}}}|Not sold}} | ||
|-{{#if:{{{oPrice|}}}|<br> | |-{{#if:{{{oPrice|}}}|<br> | ||
− | {{!}}id="infoboxsection" style="padding-left: 5px; white-space: nowrap;"{{!}}[[File:Sandy Icon.png|24px|link=]] [[Oasis | + | {{!}}id="infoboxsection" style="padding-left: 5px; white-space: nowrap;"{{!}}[[File:Sandy Icon.png|24px|link=]] [[Oasis|<span style="color:white;">Oasis</span>]]: |
{{!}}id="infoboxdetail"{{!}}{{#if:{{{oPrice|}}}|{{{oPrice|Not sold}}}|Not sold }} |}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{oPrice|}}}|{{{oPrice|Not sold}}}|Not sold }} |}} | ||
|- | |- |
Revision as of 18:55, 2 January 2019
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 |