Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) m (Protected "Template:Infobox seed": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(36 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|48px|center | + | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|48px|center]]|}} |
|- | |- | ||
− | |colspan=2 | + | |colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
|- | |- | ||
− | |colspan=2 id="infoboxsection" style="text-align:center;"|Information | + | |colspan="2" id="infoboxsection" style="text-align:center;"|Information |
|- | |- | ||
− | |id="infoboxsection"|Crop | + | |id="infoboxsection"|Crop: |
|id="infoboxdetail"|{{#if:{{{crop|}}}|{{{crop|N/A}}}|N/A}} | |id="infoboxdetail"|{{#if:{{{crop|}}}|{{{crop|N/A}}}|N/A}} | ||
|- | |- | ||
− | |id="infoboxsection"|Growth Time | + | |id="infoboxsection"|Growth Time: |
|id="infoboxdetail"|{{#if:{{{growth|}}}|{{{growth|N/A}}}|N/A}} | |id="infoboxdetail"|{{#if:{{{growth|}}}|{{{growth|N/A}}}|N/A}} | ||
|- | |- | ||
− | |id="infoboxsection"|Season | + | |id="infoboxsection"|Season: |
|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 28: | Line 28: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Sell Price: | {{!}}id="infoboxsection"{{!}}Sell Price: | ||
− | {{!}}id="infoboxdetail"{{!}}{{# | + | {{!}}id="infoboxdetail"{{!}}{{#if:{{{sellprice|}}} | {{{sellprice|}}} | N/A |
}}}} | }}}} | ||
|- | |- | ||
− | |colspan=2 id="infoboxsection" style="text-align:center;"|Purchase Prices | + | |colspan="2" id="infoboxsection" style="text-align:center;"|Purchase Prices |
|- | |- | ||
− | |id="infoboxsection" style="padding-left: 5px | + | |id="infoboxsection" class="no-wrap" style="padding-left: 5px;"|[[File:Pierre Icon.png|24px|link=]] [[Pierre's General Store|General Store]]: |
|id="infoboxdetail"|{{#if:{{{gPrice|}}}|{{{gPrice|Not sold}}}|Not sold}} | |id="infoboxdetail"|{{#if:{{{gPrice|}}}|{{{gPrice|Not sold}}}|Not sold}} | ||
|- | |- | ||
− | |id="infoboxsection" style="padding-left: 5px | + | |id="infoboxsection" class="no-wrap" style="padding-left: 5px;"|[[File:Morris Icon.png|24px|link=]] [[JojaMart]]: |
− | |id="infoboxdetail"|{{#if:{{{jPrice|}}}|{{{jPrice|Not sold}}}|Not sold}} | + | |id="infoboxdetail"|{{#if:{{{jPrice|}}}|{{{jPrice|Not sold}}}|Not sold}}<!-- |
− | + | -->{{#if:{{{oPrice|}}}|<nowiki /> | |
− | {{!}}id="infoboxsection" style="padding-left: 5px | + | {{!}}- |
+ | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 5px;"{{!}}[[File:Sandy Icon.png|24px|link=]] [[Oasis]]: | ||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{oPrice|}}}|{{{oPrice|Not sold}}}|Not sold }} |}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{oPrice|}}}|{{{oPrice|Not sold}}}|Not sold }} |}} | ||
|- | |- | ||
− | |id="infoboxsection" style="padding-left: 5px | + | |id="infoboxsection" class="no-wrap" style="padding-left: 5px;"|[[File:Traveling Cart Icon.png|24px|link=]] [[Traveling Cart]]: |
− | + | |id="infoboxdetail"|{{#if:{{{tPrice|}}}|{{{tPrice|Not sold}}}|Not sold}}<!-- | |
− | + | -->{{#if:{{{iPrice|}}} |<nowiki /> | |
− | | | + | {{!}}- |
− | }}</div></includeonly> | + | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 5px;"{{!}}[[File:Island Trader Icon.png|22px|link=]] [[Island Trader]]: |
− | <noinclude> | + | {{!}}id="infoboxdetail"{{!}}{{{iPrice|}}} |}}<!-- |
− | {{{{FULLPAGENAME}}/doc}}</noinclude> | + | -->{{#if:{{{nmday|}}} |<nowiki /> |
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}[[Night Market]]<br />(Winter {{{nmday|}}}): | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{gPrice|}}} |}}<!-- | ||
+ | -->{{#if:{{{otherprice|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Other: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{otherprice|}}} |}}<!-- | ||
+ | -->{{#ifeq:{{lc:{{{type|}}}}}|sunflower seeds|<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" colspan="2" style="text-align: center;"{{!}}Artisan Goods | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Sell Price: | ||
+ | {{!}}id="infoboxdetail"{{!}}[[File:Oil.png|24px|link=]] 100g|}} | ||
+ | {{#ifeq:{{lc:{{{source|}}}}} | crafting | | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" colspan="2" style="text-align: center;"{{!}}Crafting | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Recipe Name: | ||
+ | {{!}}{{{recipename|}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Recipe Source: | ||
+ | {{!}}{{{recipe|}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Ingredients: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Produces: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{produces|}}} | ||
+ | |}} | ||
+ | |}</div>{{InfoboxSEO}}</includeonly> | ||
+ | <noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
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 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 |