Template:INFOBOX Location

From TheKolWiki
Revision as of 20:18, 9 October 2015 by Fig bucket (Talk | contribs) (add refresh and edit links to the infobox)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{INFOBOX Location}}
{| class="infobox" style="width: 23em; text-align: left; font-size: 75%; "

|- | colspan="2" style="text-align:center; font-size: larger; font-style: italic; background-color: lightblue" | '''[[Data:{{PAGENAME}}|{{{name}}}]]''' {{#if:{{{image|}}}| {{!}}- {{!}}colspan="2" style="background-color: white; " {{!}}[[File:{{{image}}}{{!}}{{{name}}}{{!}}center]]|{{#if:{{{croppedImage|}}}| {{!}}- {{!}}colspan="2" style="background-color: white; " {{!}}{{{croppedImage}}}}}}} |- ! width="30%" | [[Areas by Number|Zone Num]] | {{{number|''unknown''}}} |- ! Location | {{{location|''unknown''}}} |- ! Unlocks | {{{unlocks|''unknown''}}} {{#if:{{{outfit|}}}| {{!}}- ! [[Outfit]] {{!}}{{{outfit}}} }} |- ! Recom Stat | {{{min_stat|''unknown''}}} |- ! [[Combat Frequency|Combat %]] | {{{combat_chance|''unknown''}}} {{#if:{{{quests|}}}| {{!}}- ! [[Quest Spoilers|Quests]] {{!}} {{{quests}}} }} |- ! [[Monster Level|ML]] | {{{mlevel_min|''unknown''}}} {{#ifeq: {{{mlevel_min}}}|{{{mlevel_max}}}||- {{{mlevel_max|''unknown''}}}}} |- ! [[The Florist Friar's Cottage|Terrain]] | {{#switch:{{{terrain|}}}|!=''indeterminate''|#default={{{terrain|''unknown''}}}}} {{#if:{{{pressure|}}}| {{!}}- ! [[Underwater adventuring|Pressure]] {{!}} {{{pressure|}}} }} |- {{#if:{{{clover|}}}{{{semi_rare|}}}{{{ultra_rare|}}}{{{badmoon|}}}{{{turtle|}}}| {{!}} colspan="2" style="text-align:center; font-style: italic;"{{!}} '''Special Adventures''' {{!}}- {{#if:{{{clover|}}}| ! [[Clover Adventures|Clover]] {{!}} {{{clover}}} }} {{!}}- {{#if:{{{semi_rare|}}}| ! [[Semi-Rare Adventures|Semi-Rare]] {{!}}{{{semi_rare}}} }} {{!}}- {{#if:{{{turtle|}}}| ! [[Turtle Taming|Turtle]] {{!}}{{{turtle}}} }} {{!}}- {{#if:{{{ultra_rare|}}}| ! [[Ultra Rares|Ultra Rare]] {{!}}{{{ultra_rare}}} }} {{!}}- {{#if:{{{badmoon|}}}| ! [[Bad Moon]] {{!}}{{{badmoon}}} }} }} |- | colspan="2" style="font-size: smaller; text-align: center;" | <span class="plainlinks" style="float:left;">[{{fullurl:{{FULLPAGENAMEE}}|action=purge}} refresh]</span><span class="plainlinks" style="float:right;">[{{fullurl:Data:{{FULLPAGENAMEE}}|action=edit}} edit data]</span>

|}{{#ifeq:{{{autocat|yes}}}|no||{{#switch:{{lc:{{{terrain|?}}}}}|outdoor=[[Category:Outdoor Locations]]|indoor=[[Category:Indoor Locations]]|underground=[[Category:Underground Locations]]|sea|aquatic|underwater=[[Category:Underwater Locations]]|!=[[Category:Locations]]|#default=[[Category:Locations Needing Terrain]]}}{{#switch:{{lc:{{{terrain2|!}}}}}|outdoor=[[Category:Outdoor Locations]]|indoor=[[Category:Indoor Locations]]|underground=[[Category:Underground Locations]]|sea|aquatic|underwater=[[Category:Underwater Locations]]|!|#default=[[Category:Locations]]}}{{#iferror:{{#expr:{{{min_stat|}}}>37}}||{{#ifexpr:{{{min_stat|}}}>37|{{#switch:{{lc:{{{terrain|?}}}}}|outdoor=[[Category:Outdoor Locations (Hard)]]|indoor=[[Category:Indoor Locations (Hard)]]|underground=[[Category:Underground Locations (Hard)]]}}{{#switch:{{lc:{{{terrain2|?}}}}}|outdoor=[[Category:Outdoor Locations (Hard)]]|indoor=[[Category:Indoor Locations (Hard)]]|underground=[[Category:Underground Locations (Hard)]]}}}}}}}}