Difference between revisions of "Template:Infobox enemy"

95 bytes removed ,  12:24, March 26, 2008
Reorginizing information, replacing name field with {{PAGENAME}}. If you don't think it should use the pagename, just replace it again with {{{name}}}
bkwikia>Chicken7
(→‎Use: icon added)
bkwikia>Jimbo Jambo
(Reorginizing information, replacing name field with {{PAGENAME}}. If you don't think it should use the pagename, just replace it again with {{{name}}})
Line 1: Line 1:
<includeonly>{| width="30%" align="right" class="wikitable infobox plainlinks"
<includeonly>{| width="30%" align="right" class="wikitable infobox plainlinks"
|+ '''{{{name}}}'''
|+ '''{{PAGENAME}}'''
|-
|-
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}210px]]|[[Special:Upload|Please add an image!]]}}
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}210px]]|[[Special:Upload|Please add an image!]]}}
|-
|-
!width="1%" nowrap="nowrap"|Hitpoints
! [[Banjo-Kazooie series|Game]]
| {{#if:{{{hp|}}}|{{{hp}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#if:{{{game|}}}|{{{game}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
!width="1%" nowrap="nowrap"|World/Location
!width="1%" nowrap="nowrap"|World/Location
| {{#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>}}
|-
|-
! Boss?
! Boss?
| {{#if:{{{boss|}}}|{{{boss}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#if:{{{boss|}}}|{{{boss}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
! [[Games in the Banjo-Kazooie Series|Game]]
| {{#if:{{{game|}}}|{{{game}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
|colspan="2" align="center"|{{#if:{{{icon|}}}|[[Image:{{{icon}}}]]|}}
|}</includeonly>
|}
<includeonly>{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}} [[Category:Enemies]]}}</includeonly><noinclude>{{clear}}
{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}} [[Category:Enemies]]}}</includeonly><noinclude>{{clear}}


----
----
==Use==
==Use==
name = Obviously the enemy's name
  image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png  
  image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png  
     ([[User:Chicken7]] can supply images]])
     ([[User:Chicken7]] can supply images]])
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)
  hp = The enemy's Hitpoints. This is based on how many blue eggs it takes to kill it.
  hp = The enemy's Hitpoints. This is based on how many blue eggs it takes to kill it.
world = The worlds the enemy can be found in (including Grunty's Lair)
  boss = If it is a boss or not, Yes or No
  boss = If it is a boss or not, Yes or No
game = The game(s) the enemy is found in
  icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to  
  icon = Optional. The icon that appears next to the writing when the enemy talks. Only applies to  
     some enemies and bosses, like Snacker the Shark.
     bosses and some enemies, like Snacker the Shark.


==Blank template==
==Blank template==
<nowiki>
<nowiki>
{{Infobox enemy</nowiki><br><nowiki>
{{Infobox enemy</nowiki><br><nowiki>
|name          = </nowiki><br><nowiki>
|image        = </nowiki><br><nowiki>
|image        = </nowiki><br><nowiki>
|game          = </nowiki><br><nowiki>
|world        = </nowiki><br><nowiki>
|world        = </nowiki><br><nowiki>
|boss          = </nowiki><br><nowiki>
|boss          = </nowiki><br><nowiki>
|game          = </nowiki><br><nowiki>
|icon          = </nowiki><br><nowiki>
|icon          = </nowiki><br><nowiki>
}}
}}
</nowiki>
</nowiki>
</noinclude>
</noinclude>
Anonymous user