Difference between revisions of "Template:Infobox enemy"

791 bytes removed ,  14:26, November 9, 2018
removed unneeded fields (to simplify infobox more)
(removed two fields)
(removed unneeded fields (to simplify infobox more))
Line 5: Line 5:
! colspan="2" style="font-size:100%;text-align:center;" | {{#if:{{{subtitle|}}}|{{{subtitle}}}|}}
! colspan="2" style="font-size:100%;text-align:center;" | {{#if:{{{subtitle|}}}|{{{subtitle}}}|}}
|-
|-
|colspan="2" align="center"| {{{image|[[Special:Upload|Please add an image!]]}}}
|colspan="2" align="center"| {{{image|[[Special:Upload|Add an image!]]}}}
{{!}}-
{{!}}-
|colspan="2" style="font-size:110%;background:#fa9;text-align: center;"|{{#ifeq:{{{boss}}}|yes|'''♦ BOSS ♦''' [[Category:Bosses]]|{{#ifeq:{{{boss}}}|no|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}|No|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}||[[Category:Enemies]]|}}}}
|colspan="2" style="font-size:110%;background:#fa9;text-align: center;"|{{#ifeq:{{{boss}}}|yes|'''♦ BOSS ♦''' [[Category:Bosses]]|{{#ifeq:{{{boss}}}|no|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}|No|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}||[[Category:Enemies]]|}}}}
Line 15: Line 15:
| {{#if:{{{world|}}}|{{{world}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#if:{{{world|}}}|{{{world}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
!width="1%" nowrap="nowrap"|Hitpoints
| {{#if:{{{hp|}}}|{{{hp}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}{{#if:{{{wn}}}|<br>
{{!}}-
! width="30%" {{!}} Weakness
{{!}} width="70%" {{!}} {{{wn}}}|}}{{#if:{{{wp}}}|<br>
{{!}}-
! width="30%" {{!}} Weak point
{{!}} width="70%" {{!}} {{{wp}}}|}}<br>
{{!}}-
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
|}
|}
Line 35: Line 26:
  game = The game(s) the enemy is found in.
  game = The game(s) the enemy is found in.
  world = The world(s) the enemy can be found in (including Gruntilda's Lair and Isle o' Hags).
  world = The world(s) the enemy can be found in (including Gruntilda's Lair and Isle o' Hags).
hp = The enemy's Hitpoints. This is based on how many Blue Eggs it takes to kill it.
wn = The enemy's weakness (i.e. it can only be killed by Grenade Eggs). Leave blank if it is weak against all attacks.
wp = The enemy's weak point(s) if only a certain part of its body is vulnerable. Leave blank if vulnerable on all parts of its body.
  icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to bosses and some enemies,  
  icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to bosses and some enemies,  
   for example, Snacker the Shark.
   for example, Snacker the Shark.
Line 49: Line 37:
   |game      = </nowiki><br><nowiki>
   |game      = </nowiki><br><nowiki>
   |world    = </nowiki><br><nowiki>
   |world    = </nowiki><br><nowiki>
  |hp        = </nowiki><br><nowiki>
   |title    = </nowiki><br><nowiki>
   |title    = </nowiki><br><nowiki>
  |wn        = </nowiki><br><nowiki>
  |wp        = </nowiki><br><nowiki>
   |icon      = </nowiki><br><nowiki>
   |icon      = </nowiki><br><nowiki>
}}
}}
15,584

edits