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
m (Text replacement - "{{clear}}" to "{{br}}")
(updated)
Line 2: Line 2:
|-
|-
! colspan="2" style="font-size:140%;text-align:center;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:140%;text-align:center;" | {{{name|{{PAGENAME}}}}}
{{#if:{{{subtitle|}}}|{{!}}-
! colspan="2" style="font-size:100%;text-align:center;" {{!}} {{{subtitle}}}|}}
|-
|-
|colspan="2" align="center"| {{{image|[[Special:Upload|Add an image!]]}}}
|colspan="2" align="center"| {{{image|[[Special:Upload|Add an image!]]}}}
{{#ifeq:{{{boss}}}|yes|{{!}}-
{{!}}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]]|}}}}}}
|-
|-
! [[Banjo-Kazooie (series)|<span style="color:#000">Game(s)]]
! [[Banjo-Kazooie (series)|<span style="color:#000">Game(s)]]
Line 14: Line 10:
!width="1%" nowrap="nowrap"|[[:Category:Locations|<span style="color:#000">World(s)]]
!width="1%" nowrap="nowrap"|[[:Category:Locations|<span style="color:#000">World(s)]]
| {{#if:{{{world|}}}|{{{world}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#if:{{{world|}}}|{{{world}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
! Weakness(es)
| {{#if:{{{weakness|}}}|{{{weakness}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
Line 19: Line 18:
{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}}}}<noinclude>{{br}}
{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}}}}<noinclude>{{br}}


----
==Parameters==
==How to use this infobox template==
subtitle = FOR BOSSES ONLY! Underneath a Boss' name there will be a sub-title. Example: Weldar's is Visually Impaired Welding Torch.
  image = An image of the enemy.
  image = An image of the enemy.
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 Gruntilda's Lair and Isle o' Hags).
weakness = An enemy's weaknesses, which is how it can be defeated.
  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.
   for example, Snacker.


==Blank template==
==Blank template==
<nowiki>
<pre>
{{Infobox enemy</nowiki><br><nowiki>
{{Infobox enemy
  |image     = </nowiki><br><nowiki>
|image =
  |imagesize = </nowiki><br><nowiki>
|boss =
  |boss     = </nowiki><br><nowiki>
|game =
  |game     = </nowiki><br><nowiki>
|world =
  |world     = </nowiki><br><nowiki>
|weakness =
  |title    = </nowiki><br><nowiki>
|icon =
  |icon     = </nowiki><br><nowiki>
}}  
}}
</pre>
</nowiki>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude><includeonly>[[Category:Enemies]]</includeonly>
</noinclude><includeonly>[[Category:Enemies]]</includeonly>

Revision as of 06:19, December 7, 2018

Template:Mainonly

Parameters

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 Gruntilda's Lair and Isle o' Hags).
weakness = An enemy's weaknesses, which is how it can be defeated.
icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to bosses and some enemies, 
 for example, Snacker.

Blank template

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