Template:INFOBOX Combat: Difference between revisions

From A KoL Wiki
imported>Flargen
m this should probably be a standaradization instead of a test template, what with all the monsters getting their metadata populated
imported>Bagatelle
m handle !-marks
Line 22: Line 22:
|-
|-
! [[Elements|Element]]
! [[Elements|Element]]
| {{#switch:{{lc:{{{element|none}}}}}|none=None|?=Unknown|{{element{{!}}{{{element}}}{{!}}}}}}
| {{#switch:{{lc:{{{element|none}}}}}|none=None|!=Indeterminate|?=Unknown|{{element{{!}}{{{element}}}{{!}}}}}}
|-
|-
! [[Physical Resistance|Physical]]
! [[Physical Resistance|Physical]]

Revision as of 18:19, 6 July 2008


{| class="infobox" style="width: 23em; text-align: left; font-size: 75%; "

|- !colspan="2" align="center"| [[Data:{{PAGENAME}}|{{ucfirst:{{{name|{{PAGENAME}}}}}}}]] |- ! width="30%" | Location | {{{location|''unknown''}}} |- ! Hitpoints | {{{hp|''unknown''}}} |- ! [[Weapon Damage#Monster Damage Formula|Attack]] | {{{attack|''unknown''}}} |- ! [[Hit Chance|Defense]] | {{{defense|''unknown''}}} |- ! [[Combat Initiative|Initiative]] | {{{init|''unknown''}}} |- ! [[Meat]] | {{{meat|None}}} |- ! [[Elements|Element]] | {{#switch:{{lc:{{{element|none}}}}}|none=None|!=Indeterminate|?=Unknown|{{element{{!}}{{{element}}}{{!}}}}}} |- ! [[Physical Resistance|Physical]] | {{#ifeq:{{{physical|none}}}|none|None|{{{physical}}}}} |- | colspan="2" | ;[[Item Drops|Drops]] :{{{items|None}}} |- {{#if:{{{quest|}}}| ! [[:Category:Quest Items|Quest]] {{!}}{{{quest}}} }} |- {{#if:{{{bounty|}}}| ! [[The Bounty Hunter Hunter's Shack|Bounty]] {{!}}{{{bounty}}} }} |- {{#if:{{{pickpocket|}}}| ! [[Pickpocket]] {{!}}{{{pickpocket}}} }} |- | colspan="2" style="font-size: smaller; text-align: right;" | [{{fullurl:Data:{{FULLPAGENAMEE}}|action=edit}} edit data]

|}