Be sure to read our policy on citing sources before editing!

Difference between revisions of "Template:Infobox enemy"

From Jiggywikki, a Banjo-Kazooie wiki
Jump to navigationJump to search
bkwikia>Votaw
(i guess)
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="30%" align="right" class="wikitable infobox plainlinks"
{| class="wikitable infobox plainlinks" style="width:30%;float:right"
|+ style="font-size:15px;padding:3px" {{!}} '''{{{name|{{PAGENAME}}}}}'''
|-
|-
! colspan="2" style="font-size:140%;text-align:center;" | {{{name|{{PAGENAME}}}}}
|colspan="2" style="text-align:center"|{{{image|[[Special:Upload|Upload an image!]]}}}
{{!}}-
! colspan="2" style="font-size:100%;text-align:center;" | {{#if:{{{title|}}}|{{{title}}}|}}
|-
|-
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{imagesize|150px}}}]]|[[Special:Upload|Please add an image!]]}}
{{#if:{{{game|}}}|
{{!}} '''Game(s)'''
{{!}} {{{game}}}
{{!}}-
{{!}}-
|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]]|}}}}
}}
|-
{{#if:{{{world|}}}|
! [[Banjo-Kazooie (series)|<span style="color:#000">Game(s)]]
{{!}} '''World(s)'''
| {{#if:{{{game|}}}|{{{game}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{!}} {{{world}}}
|-
!width="1%" nowrap="nowrap"|[[:Category:Locations|<span style="color:#000">World(s)]]
| {{#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>
{{#if:{{{weakness|}}}|
{{!}} '''Weakness(es)'''
{{!}} {{{weakness}}}
{{!}}-
{{!}}-
! width="30%" {{!}} Weak point
}}
{{!}} width="70%" {{!}} {{{wp}}}|}}<br>
{{#if:{{{icon|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" width="100%" style="text-align:center;font-size:12px;" border="0" cellpadding="0" cellspacing="0"
! style="background: padding:2px;" {{!}} Speech icon(s)
{{!}}-
{{!}}-
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
{{!}} style="padding:0 2px;" {{!}} {{{icon|}}}
|}
{{!}}}
{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}}}}<noinclude>{{clear}}
|}}
 
|}<noinclude>
----
{{br}}
==How to use this infobox template==
==Parameters==
  image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. For example, Ticker.png ([[User:Chicken7]] can
  image = An image of the enemy.
  supply images]]).
imagesize = The size of the image in pixels. Default (unspecified) is 150px.
boss = If it is a boss, type yes. If not, type no.
  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 hub worlds like Gruntilda's Lair or Isle o' Hags).
  hp = The enemy's Hitpoints. This is based on how many Blue Eggs it takes to kill it.
  weakness = An enemy's weaknesses, which is how it can be defeated.
title = FOR BOSSES ONLY! Underneath a Boss' name there will be a sub-title. Example: Weldar's is Visually Impaired Welding Torch.
  icon = Optional. Either the icon that appears when an enemy/boss is talking, or the enemy counter icon. Only applies
wn = The enemy's weakness (i.e. it can only be killed by Grenade Eggs). Leave blank if it is weak against all attacks.
  to bosses and some enemies, for example, Snacker.
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,  
  for example, Snacker the Shark.


==Blank template==
==Blank template==
<nowiki>
<pre>
{{Infobox enemy</nowiki><br><nowiki>
{{Infobox enemy
  |image     = </nowiki><br><nowiki>
|image =
  |imagesize = </nowiki><br><nowiki>
|game =
  |boss      = </nowiki><br><nowiki>
|world =
  |game     = </nowiki><br><nowiki>
|weakness =
  |world     = </nowiki><br><nowiki>
|icon =
  |hp        = </nowiki><br><nowiki>
  |title    = </nowiki><br><nowiki>
  |wn        = </nowiki><br><nowiki>
  |wp        = </nowiki><br><nowiki>
  |icon     = </nowiki><br><nowiki>
}}
}}
</nowiki>
</pre>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
 
<includeonly>[[Category:Enemies]][[Category:Enemies that have {{{hp}}} hit-points]]</includeonly>

Latest revision as of 20:06, December 7, 2023

Parameters[edit]

image = An image of the enemy.
game = The game(s) the enemy is found in.
world = The world(s) the enemy can be found in (including hub worlds like Gruntilda's Lair or Isle o' Hags).
weakness = An enemy's weaknesses, which is how it can be defeated.
icon = Optional. Either the icon that appears when an enemy/boss is talking, or the enemy counter icon. Only applies
 to bosses and some enemies, for example, Snacker.

Blank template[edit]

{{Infobox enemy
|image =
|game =
|world =
|weakness =
|icon =
}}