Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (hide normal/silver quality cheese from large goat milk) |
Margotbean (talk | contribs) |
||
Line 17: | Line 17: | ||
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | |colspan="2" style="padding-bottom:5px; text-align: center;"|{{#ifexist:File:{{{image|{{PAGENAME}}.png}}}|[[File:{{{image|{{PAGENAME}}.png}}} | + | |colspan="2" style="padding-bottom:5px; text-align: center;"|{{#ifexist:File:{{{image|{{PAGENAME}}.png}}}|[[File:{{{image|{{PAGENAME}}.png}}}]]|}}{{#ifexist:File:{{{image2|}}}|[[File:{{{image2|}}}]]|}}{{#ifexist:File:{{{image3|}}}|[[File:{{{image3|}}}]]|}}{{#ifexist:File:{{{image4|}}}|[[File:{{{image4|}}}]]|}} |
|- | |- | ||
|colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;"|{{{description|}}} | |colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;"|{{{description|}}} | ||
Line 49: | Line 49: | ||
{{!}}id="infoboxsection"{{!}}Season: | {{!}}id="infoboxsection"{{!}}Season: | ||
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{season|}}}}} | {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{season|}}}}} | ||
− | | spring | summer | fall | winter = [[File:{{ucfirst:{{lc:{{{season}}}}}}}.png|24px|link | + | | spring | summer | fall | winter = [[File:{{ucfirst:{{lc:{{{season}}}}}}}.png|24px|link=]] [[{{ucfirst:{{lc:{{{season}}}}}}}]] |
| all | any = All | | all | any = All | ||
− | | [[spring]] = [[File:Spring.png|24px|link | + | | [[spring]] = [[File:Spring.png|24px|link=]] [[Spring]] |
− | | [[summer]] = [[File:Summer.png|24px|link | + | | [[summer]] = [[File:Summer.png|24px|link=]] [[Summer]] |
− | | [[winter]] = [[File:Winter.png|24px|link | + | | [[winter]] = [[File:Winter.png|24px|link=]] [[Winter]] |
− | | [[fall]] = [[File:Fall.png|24px|link | + | | [[fall]] = [[File:Fall.png|24px|link=]] [[Fall]] |
| #default = {{{season|}}} | | #default = {{{season|}}} | ||
}}}}{{#if:{{{edibility|}}}|<nowiki/> | }}}}{{#if:{{{edibility|}}}|<nowiki/> | ||
Line 76: | Line 76: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Base Price: | {{!}}id="infoboxsection"{{!}}Base Price: | ||
− | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Tiller.png|24px|link | + | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Tiller.png|24px|link=]] Tiller Profession</span><br />''(+10% Sell Price)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Line 100: | Line 100: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Base Price: | {{!}}id="infoboxsection"{{!}}Base Price: | ||
− | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Artisan.png|24px|link=]] Artisan Profession</span><br />''(+40% Sell Price)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Line 124: | Line 124: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Base Price: | {{!}}id="infoboxsection"{{!}}Base Price: | ||
− | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Rancher.png|24px|link=]] Rancher Profession</span><br />''(+20% Sell Price)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Line 174: | Line 174: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#switch:{{ucfirst:@@@}} | {{!}}id="infoboxsection"{{!}}{{#switch:{{ucfirst:@@@}} | ||
− | |Tapper=[[File:Tapper Icon.png|24px|link | + | |Tapper=[[File:Tapper Icon.png|24px|link=]] |
− | |Blacksmith=[[File:Blacksmith Icon.png|24px|link | + | |Blacksmith=[[File:Blacksmith Icon.png|24px|link=]] |
|#default={{#ifexist:File:{{ucfirst:@@@}}.png|[[File:{{ucfirst:@@@}}.png{{!}}24px{{!}}link={{!}}alt=]]}}}} {{ucfirst:@@@}} Profession:<br /><span style="white-space: nowrap; padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}}% Sell Price)''</span> | |#default={{#ifexist:File:{{ucfirst:@@@}}.png|[[File:{{ucfirst:@@@}}.png{{!}}24px{{!}}link={{!}}alt=]]}}}} {{ucfirst:@@@}} Profession:<br /><span style="white-space: nowrap; padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}}% Sell Price)''</span> | ||
{{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal | {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal | ||
Line 190: | Line 190: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Artisan Base Price: | {{!}}id="infoboxsection"{{!}}Artisan Base Price: | ||
− | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection"{{!}}<span style="white-space: nowrap !important;">[[File:Artisan.png|24px|link=]] Artisan Profession:</span><br/>''(+40% Sell Price)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}}} | {{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}}} | ||
Line 201: | Line 201: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Cheese|200|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Cheese|200|iridium}} | ||
Line 215: | Line 215: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Cheese|200|hide=normal,silver|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Cheese|200|hide=normal,silver|iridium}} | ||
Line 229: | Line 229: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Goat Cheese|375|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Goat Cheese|375|iridium}} | ||
Line 243: | Line 243: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Goat Cheese|375|hide=normal,silver|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Goat Cheese|375|hide=normal,silver|iridium}} | ||
Line 257: | Line 257: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link=]] 470g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link=]] 564g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Cloth.png|24px|link=]] 658g |
{{!}}} | {{!}}} | ||
|duck egg= | |duck egg= | ||
Line 271: | Line 271: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link=]] 375g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link=]] 450g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Duck Mayonnaise.png|24px|link=]] 525g |
{{!}}} | {{!}}} | ||
|egg= | |egg= | ||
Line 285: | Line 285: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Mayonnaise|190|hide=silver,gold}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Mayonnaise|190|hide=silver,gold}} | ||
Line 300: | Line 300: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Mayonnaise|190|hide=normal,silver}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Mayonnaise|190|hide=normal,silver}} | ||
Line 314: | Line 314: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | {{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price: | ||
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Rancher.png|24px|link=]] Rancher:<br/>''(+20%)'' |
− | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection" style="width: 35%"{{!}}[[File:Artisan.png|24px|link=]] Artisan:<br/>''(+40%)'' |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link=]] 275g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link=]] 330g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Void Mayonnaise.png|24px|link=]] 385g |
{{!}}} | {{!}}} | ||
|truffle= | |truffle= | ||
Line 326: | Line 326: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Base Price: | {{!}}id="infoboxsection"{{!}}Base Price: | ||
− | {{!}}id="infoboxsection"{{!}}<span style="white-space:nowrap !important;">[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection"{{!}}<span style="white-space:nowrap !important;">[[File:Artisan.png|24px|link=]] Artisan Profession:</span><br/>''(+40% Sell Price)'' |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxdetail"{{!}}[[File:Truffle Oil.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Truffle Oil.png|24px|link=]] 1,065g |
− | {{!}}id="infoboxdetail"{{!}}[[File:Truffle Oil.png|24px|link= | + | {{!}}id="infoboxdetail"{{!}}[[File:Truffle Oil.png|24px|link=]] 1,491g |
|wine|juice= | |wine|juice= | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}[[File:Artisan.png|24px|link | + | {{!}}id="infoboxsection"{{!}}[[File:Artisan.png|24px|link=]] Artisan Profession:<br/>''(+40% Sell Price)'' |
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}|pro=1}} | {{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}|pro=1}} | ||
}}{{#if:{{{ingredients|}}}|<nowiki/> | }}{{#if:{{{ingredients|}}}|<nowiki/> | ||
Line 355: | Line 355: | ||
}}<!--Trapper Profession ingredients for Crab Pot-->{{#if:{{{tingredients|}}}|<nowiki/> | }}<!--Trapper Profession ingredients for Crab Pot-->{{#if:{{{tingredients|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}[[File:Trapper.png|24px|link | + | {{!}}id="infoboxsection"{{!}}[[File:Trapper.png|24px|link=]] Trapper Profession Ingredients: |
{{!}}id="infoboxdetail"{{!}}{{{tingredients|}}} | {{!}}id="infoboxdetail"{{!}}{{{tingredients|}}} | ||
}}{{#if:{{{produces|}}}|<nowiki/> | }}{{#if:{{{produces|}}}|<nowiki/> |
Revision as of 19:58, 16 March 2018
==Description==
This template displays a generic infobox for a wide variety of items. Do not use this on your user page. It is reserved for content pages.
Parameters
All parameters are optional. If omitted, nothing will display.
Parameter | Notes |
---|---|
eng | Name of the image to display, in English, without the ".png" extension. If the image has an extension other than ".png", then the "ext" parameter must be used. |
ext | Extension of image specified in "eng" parameter, without the period (e.g., "gif", "jpg", etc.) |
name | Name of item (Page name if omitted) For use on pages like Trash (item) where the name of the item is different from the page name. |
image2 image3 image4 image5 |
Name of additional images to display Must be of type ".png" Omit the extension (e.g., Tiger Slime Egg) |
image2spacing | Set to "true" to add extra space between the images specified in "eng" and "image2" |
description | In-game item description (Populated by Template:Description if omitted). It is preferable to omit this parameter and update Template:Description instead. |
source | How to obtain the item (e.g., [[Crafting]], [[Artisan Goods]], [[Slime Egg-Press]]) |
location | Location(s) of item (e.g., [[Cindersap Forest]], [[The Beach]], Bushes throughout the valley, etc.) |
seed | Name of seed (e.g., {{Name|Corn Seeds}}) |
growth | Number of days the crop takes to grow to maturity (e.g., 4 days) |
buff | Name of buff(s) given by the item (e.g., {{Name|Farming|+4}}) |
buffduration | Length of time buff(s) are active |
season | Name of season when the item can be obtained or grown Can be plain text (e.g., Spring, Summer, All, etc.) or can use Template:Season (e.g., {{Season|Summer}} • {{Season|Winter}}) |
weather | Weather required to obtain the item Can use plain text (e.g., Rain) and this template will automatically apply Template:Weather inline formatting |
xp | Experience points gained for harvesting or otherwise obtaining the item |
edibility | Found in Data\ObjectInformation.xnb Note that inedible items have an edibility of -300, and poisonous items have a negative edibility greater than -300 |
sellprice | Found in Data\ObjectInformation.xnb If the item cannot be sold, then "N/A" and "Cannot be sold" are valid values |
quality | Set to "false" to suppress silver, gold, and iridium qualities |
recipe | How to obtain the recipe to craft the item (e.g., [[Farming]] Level 7) |
craftingstation | Equipment used to craft the item (e.g., {{Name|Preserves Jar}}) |
crafttime | How long does the item process in its equipment (e.g., 4 hours) |
ingredients | Ingredients needed to craft the item (e.g., {{Name|Copper Bar|2}}{{Name|Sap|10}}) |
tingredients | Ingredients with the Trapper profession Used on the Crab Pot page |
produces | Item produced via crafting, artisan goods, or harvesting (e.g., 5 Deluxe Fertilizer per craft) |