Line 1: |
Line 1: |
− | <noinclude>{{construction}}</noinclude><includeonly>{{#if:
| + | <includeonly>{{#switch:{{NAMESPACE}} |
− | | + | |{{ns:User}}|{{ns:User talk}}= |
− | {{#arraydefine:qualities|normal,silver,gold|,|unique}}<!-- Excludes iridium, as it is currently handled by {{{iridium}}}. -->
| + | |#default=<div id="infoboxborder"> |
− | {{#arraydefine:qualities to show
| + | <table id="infoboxtable"> |
− | | {{#switch:{{{quality|true}}}
| + | <tr> |
− | | true = normal, silver, gold, {{#ifeq:{{{iridium|true}}}|true|iridium}}
| + | <td colspan="2" id="infoboxheader">{{{name|{{PAGENAME}}}}}</td> |
− | | false = normal
| + | </tr> |
− | | #default = normal, {{{quality|}}}, {{#ifeq:{{{iridium|true}}}|true|iridium}}
| + | <tr> |
− | }}
| + | <td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}]]{{#if:{{{image2|}}}|{{#ifeq:{{lc:{{{image2spacing|}}}}}|true| | }}[[File:{{{image2|}}}.png]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}.png]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}.png]]|}}{{#if:{{{image5|}}}| [[File:{{{image5|}}}.png]]|}}</td> |
− | |,|unique}}
| + | </tr> |
− | {{#arraydiff:qualities to hide|qualities|qualities to show}}
| + | <tr> |
− | | + | <td colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic; padding-right: 3px;">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}</td> |
− | {{#arraydefine:name| {{{
| + | </tr> |
| + | <tr> |
| + | <td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">Information</td> |
| + | </tr> |
| + | {{#if:{{{source|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Source</td> |
| + | <td id="infoboxdetail">{{{source|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{location|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Location</td> |
| + | <td id="infoboxdetail">{{{location|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{seed|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Seed</td> |
| + | <td id="infoboxdetail">{{{seed|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{growth|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Growth Time</td> |
| + | <td id="infoboxdetail">{{{growth|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{buff|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Buff(s)</td> |
| + | <td id="infoboxdetail">{{{buff|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{buffduration|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Buff Duration</td> |
| + | <td id="infoboxdetail">{{duration|{{{buffduration|}}}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{season|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">{{#switch:{{lc:{{{eng|}}}}} |
| + | |apple|apricot|banana|cherry|mango|orange|peach|pomegranate|tea stage 4=Harvest Season |
| + | |#default = Season}}</td> |
| + | <td id="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> |
| + | </tr> |
| + | }}{{#if:{{{weather|}}} |<nowiki /> |
| + | <tr> |
| + | <td id="infoboxsection">Weather</td> |
| + | <td id="infoboxdetail">{{#iferror: |
| }}{{#if:{{{ingredients|}}}|<nowiki/> | | }}{{#if:{{{ingredients|}}}|<nowiki/> |
− | {{!}}-
| + | <tr> |
− | {{!}}colspan=2 id="infoboxsection" style="text-align:center;"{{!}}{{#ifeq:{{{craftingstation|}}}|Kitchen Stove|Cooking|Crafting}}
| + | <td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">{{#if:{{#pos:{{lc:{{{source|}}}}}|artisan goods}} | Artisan Goods | Crafting }}</td> |
| + | </tr> |
| }}{{#if:{{{recipe|}}}|<nowiki/> | | }}{{#if:{{{recipe|}}}|<nowiki/> |
− | {{!}}-
| + | <tr> |
− | {{!}}id="infoboxsection"{{!}}Recipe Source:
| + | <td id="infoboxsection">Recipe Source</td> |
− | {{!}}id="infoboxdetail"{{!}}{{{recipe|}}}
| + | <td id="infoboxdetail">{{{recipe|}}}</td> |
| + | </tr> |
| }}{{#if:{{{craftingstation|}}}|<nowiki/> | | }}{{#if:{{{craftingstation|}}}|<nowiki/> |
− | {{!}}- | + | <tr> |
− | {{!}}id="infoboxsection"{{!}}Station: | + | <td id="infoboxsection">Equipment</td> |
− | {{!}}id="infoboxdetail"{{!}}{{{craftingstation|}}}
| + | <td id="infoboxdetail">{{{craftingstation|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{crafttime|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Processing Time</td> |
| + | <td id="infoboxdetail">{{duration|{{{crafttime|}}}}}</td> |
| + | </tr> |
| }}{{#if:{{{ingredients|}}}|<nowiki/> | | }}{{#if:{{{ingredients|}}}|<nowiki/> |
− | {{!}}-
| + | <tr> |
− | {{!}}id="infoboxsection"{{!}}Ingredients:
| + | <td id="infoboxsection">Ingredients</td> |
− | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}}
| + | <td id="infoboxdetail">{{{ingredients|}}}</td> |
− | }}<!--Trapper Profession ingredients for Crab Pot-->{{#if:{{{tingredients|}}}|<nowiki/> | + | </tr> |
− | {{!}}-
| + | }}{{#if:{{{tingredients|}}}|<nowiki/> |
− | {{!}}id="infoboxsection"{{!}}[[File:Trapper.png|24px|link=]] Trapper Profession Ingredients:
| + | <tr> |
− | {{!}}id="infoboxdetail"{{!}}{{{tingredients|}}} | + | <td id="infoboxsection">[[File:Trapper.png|24px|link=]] [[Skills#Fishing|Trapper]] Ingredients</td> |
| + | <td id="infoboxdetail">{{{tingredients|}}}</td> |
| + | </tr> |
| + | }}{{#if:{{{produces|}}}|<nowiki/> |
| + | <tr> |
| + | <td id="infoboxsection">Produces</td> |
| + | <td id="infoboxdetail">{{{produces|}}}</td> |
| + | </tr> |
| }} | | }} |
− | |}{{InfoboxSEO}}{{#seo:
| + | </table> |
− | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
| + | </div>{{InfoboxSEO}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
− | }}</div></includeonly>
| |
− | <noinclude><br style="clear:both;" /> | |
− | {{{{FULLPAGENAME}}/doc}}</noinclude> | |