Difference between revisions of "Template:Infobox seed"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (eliminate the word "Price" to shorten cell widths so the mobile site doesn't have text on top of text) |
Margotbean (talk | contribs) Tags: Mobile edit Mobile web edit |
||
Line 33: | Line 33: | ||
|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; white-space: nowrap;"|[[File:Pierre Icon.png|24px|link=]] [[Pierre%27s_General_Store|<span style="color:white;">General Store</span>]]: | + | |id="infoboxsection" style="padding-left: 5px; white-space: nowrap; width: auto;"|[[File:Pierre Icon.png|24px|link=]] [[Pierre%27s_General_Store|<span style="color:white;">General Store</span>]]: |
|id="infoboxdetail"|{{#if:{{{gPrice|}}}|{{{gPrice|Not sold}}}|Not sold}} | |id="infoboxdetail"|{{#if:{{{gPrice|}}}|{{{gPrice|Not sold}}}|Not sold}} | ||
|- | |- | ||
− | |id="infoboxsection" style="padding-left: 5px; white-space: nowrap;"|[[File:Morris Icon.png|24px|link=]] [[JojaMart|<span style="color:white;">JojaMart</span>]]: | + | |id="infoboxsection" style="padding-left: 5px; white-space: nowrap; width: auto;"|[[File:Morris Icon.png|24px|link=]] [[JojaMart|<span style="color:white;">JojaMart</span>]]: |
|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{{!}}<span style="color:white;">Oasis</span>]]: | + | {{!}}id="infoboxsection" style="padding-left: 5px; white-space: nowrap; width: auto;"{{!}}[[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 }} |}} | ||
|- | |- | ||
− | |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; width: auto;"|[[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}} | ||
|}{{#if:{{{debug mode|}}}||{{mainonly|[[Category:Seeds]]}}}}{{InfoboxSEO}}{{#seo: | |}{{#if:{{{debug mode|}}}||{{mainonly|[[Category:Seeds]]}}}}{{InfoboxSEO}}{{#seo: |
Revision as of 20:34, 31 March 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 |