Template:INFOBOX Combat

From TheKolWiki
Jump to: navigation, search
Chest.gif This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{{INFOBOX Combat}}
{| class="infobox" style="width: 23em; text-align: left; font-size: 75%; "

|- !colspan="2" align="center"| [[Data:{{PAGENAME}}|{{ucfirst:{{{name|{{PAGENAME}}}}}}}]] |- ! [[{{#if:{{{monsterid|}}}|{{#switch:{{{monsterid|?}}}|?|!=Monsters by number|#default=Monsters by number ({{#ifexpr:{{{monsterid}}} < 0|negative|{{#ifexpr:{{{monsterid}}} < 100|1-99|{{#expr:({{{monsterid}}} - 50) round -2}}-{{#expr:(({{{monsterid}}} + 50) round -2) - 1}}}}}})}}|Monsters by number}}|Monster ID]] | {{#switch:{{{monsterid|?}}}|?=''unknown''|!=Indeterminate|#default={{{monsterid}}}}} |- ! width="30%" | [[Locations]] | {{{location|''unknown''}}} |- ! Hit Points | {{#switch:{{{hp}}}|!=Indeterminate|{{{hp|''unknown''}}}}} |- ! Attack | {{#switch:{{{attack}}}|!=Indeterminate|{{{attack|''unknown''}}}}} |- ! Defense | {{#switch:{{{defense|?}}}|?=''unknown''|!=Indeterminate|Scales|scales=Scales with player stats|#default={{{defense}}}}} |- {{#if:{{{nohit|}}}| ! [[Safe Adventuring|No-Hit]] {{!}}{{{nohit}}} }} |- ! [[Combat Initiative|Initiative]] | {{#switch:{{{init}}}|!=Indeterminate|{{{init|''unknown''}}}}} |- ! [[Meat]] | {{#if:{{{Mval|}}}|{{#switch:{{{Mval}}}|!=Indeterminate|?=''unknown''|0|none|None=None|#default={{meat range|{{{Mval}}}}}}}|{{#switch:{{{meat|0}}}|!=Indeterminate|?=''unknown''|0|none|None=None|#default={{{meat}}}}}}} |- ! [[Monster Types|Phylum]] | {{#switch:{{{phylum|?}}}|!=Indeterminate|?|=''unknown''|#default={{{phylum}}}}} |- ! [[Elements]] | {{#switch:{{lc:{{{element|none}}}}}|none|None=None|!=Indeterminate|?=''unknown''|{{{element}}}={{element|{{{element}}}|}}}} |- ! [[Monster Resistance|Resistance]] | {{#switch:{{{physical|None}}}|!=Indeterminate|none|None=None|#default={{{physical}}}}} |- ! [[Monster Parts]] | {{#switch:{{{parts|?}}}|?=''unknown''|!=Indeterminate|none|None=None|#default={{{parts}}}}} |- | colspan="2" | ;[[Items from Monsters|Drops]] :{{{items|None}}} |- {{#if:{{{quest|}}}| ! [[:Category:Quest Items|Quest]] {{!}}{{{quest}}} }} |- {{#if:{{{bounty|}}}| ! [[The Bounty Hunter Hunter's Shack|Bounty]] {{!}}{{{bounty}}} }} |- {{#if:{{{pickpocket|}}}| ! [[Pickpocket]] {{!}}{{{pickpocket}}} }} |- {{#if:{{{accordion|}}}| ! [[Steal Accordion‎|Accordion]] {{!}}{{{accordion}}} }} |- {{#if:{{{manuel|}}}| ! [[Monster Manuel|Manuel]] {{!}}{{{manuel}}} }} |- {{#ifeq:{{{manuelentry|}}}|!|| ! [[{{#if:{{{manuelentry|}}}|{{{manuelentry|}}}|Monster Manuel ({{{{{|safesubst:}}}padleft:|1|{{PAGENAME}}}})#{{{name}}}}}|Manuel&nbsp;Entry]]}} |- | 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>

|}