Difference between revisions of "Template:Infobox enemy"
Added information from boss infobox (we don't need two separate infoboxes) and added a "weakness" section. Also, copied the boss #ifeq from my sandbox. STILL NEEDS WORK
bkwikia>Chicken7 (species removed from docu) |
bkwikia>Jimbo Jambo (Added information from boss infobox (we don't need two separate infoboxes) and added a "weakness" section. Also, copied the boss #ifeq from my sandbox. STILL NEEDS WORK) |
||
Line 1: | Line 1: | ||
{| width="30%" align="right" class="wikitable infobox plainlinks" | |||
|- | |- | ||
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}} | ! colspan="2" style="font-size:140%;text-align:center;" | {{PAGENAME}} | ||
|- | |||
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}210px]]|[[Special:Upload|Please add an image!]]}} | |||
{{!}}- | |||
|colspan="2" style="font-size:110%;background:#fa9;text-align: center;"|{{#ifeq:{{{boss}}}|yes|'''♦ BOSS ♦''' [[Category:Bosses]]|{{#ifeq:{{{boss}}}|no||}}}} | |||
|- | |- | ||
! [[Banjo-Kazooie series|Game]] | ! [[Banjo-Kazooie series|Game]] | ||
Line 11: | Line 14: | ||
|- | |- | ||
!width="1%" nowrap="nowrap"|Hitpoints | !width="1%" nowrap="nowrap"|Hitpoints | ||
| {{#if:{{{hp|}}}|{{{hp}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}} | | {{#if:{{{hp|}}}|{{{hp}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}{{#if:{{{wn}}}|<br> | ||
{{!}}- | |||
! | ! width="30%" nowrap="nowrap" {{!}} Weakness | ||
{{!}} width="70%" {{!}} {{{wn}}}|}}{{#if:{{{wp}}}|<br> | |||
{{!}}- | |||
! width="30%" nowrap="nowrap" {{!}} Weak point | |||
{{!}} width="70%" {{!}} {{{wp}}}|}} | |||
|- | |- | ||
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}} | |colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}} | ||
|} | |} | ||
{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}} [[Category:Enemies]]}} | {{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}} [[Category:Enemies]]}}<noinclude>{{clear}} | ||
---- | ---- | ||
Line 24: | Line 30: | ||
image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png ([[User:Chicken7]] can | image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png ([[User:Chicken7]] can | ||
supply images]]) | supply images]]) | ||
boss = If it is a boss or not, Yes or No | |||
game = The game(s) the enemy is found in | game = The game(s) the enemy is found in | ||
world = The worlds the enemy can be found in (including Grunty's Lair and Isle o' Hags) | world = The worlds the enemy can be found in (including Grunty's Lair and Isle o' Hags) | ||
hp = The enemy's Hitpoints. This is based on how many | 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 weak against all attacks. | |||
wn = 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 | icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to bosses and some | ||
enemies, like Snacker the Shark. | enemies, like Snacker the Shark. | ||
Line 35: | Line 43: | ||
{{Infobox enemy</nowiki><br><nowiki> | {{Infobox enemy</nowiki><br><nowiki> | ||
|image = </nowiki><br><nowiki> | |image = </nowiki><br><nowiki> | ||
|boss = </nowiki><br><nowiki> | |||
|game = </nowiki><br><nowiki> | |game = </nowiki><br><nowiki> | ||
|world = </nowiki><br><nowiki> | |world = </nowiki><br><nowiki> | ||
| | |hp = </nowiki><br><nowiki> | ||
|wn = </nowiki><br><nowiki> | |||
|wp = </nowiki><br><nowiki> | |||
|icon = </nowiki><br><nowiki> | |icon = </nowiki><br><nowiki> | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</noinclude> | </noinclude> |