Template:Infobox Enemy: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(added usage info to noinclude)
(update to use parserfunctions)
Line 3: Line 3:
'''To add this template to an article copy and paste the following code and then fill in the information: '''
'''To add this template to an article copy and paste the following code and then fill in the information: '''
<pre>
<pre>
{{Enemy| name =  
{{Enemy
|name =  
|image =  
|image =  
|game =  
|game =  
Line 16: Line 17:


</noinclude>{| class="toccolours" cellpadding="4" style="border: 1px solid #999999; float: right; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; font-size: 95%; text-align: left;"
</noinclude>{| class="toccolours" cellpadding="4" style="border: 1px solid #999999; float: right; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; font-size: 95%; text-align: left;"
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%; border: 1px solid #999999;" | '''{{{name}}}'''
! colspan="2" style="text-align: center; background-color: #ccccff; font-size:110%; border: 1px solid #999999;" | {{{name|{{PAGENAME}}}}}
|-
{{#if:{{{image|}}}|
! style="border: 1px solid #999999; text-align: center;" colspan="2" | {{{image}}}
{{!-}}
! colspan="2" style="border: 1px solid #999999; text-align: center;" {{!}} {{{image|}}}}}
|- valign="top"
|- valign="top"
! style="border: 1px solid #999999;" bgcolor="#ccccff" | '''Game(s)'''
! style="border: 1px solid #999999;" bgcolor="#ccccff" | '''Game(s)'''
| style="border: 1px solid #999999; width:14em" | {{{game}}}
| style="border: 1px solid #999999; width:14em" | {{{game}}}
|-
{{#if:{{{habitat|}}}|
{{if defined call1 | {{{habitat}}} | Enemy/habitat | {{{habitat}}}}}
{{!-}}
! style="border: 1px solid #999999;" bgcolor="#ccccff" {{!}} Habitat(s)
{{!}} style="border: 1px solid #999999;" {{!}} {{{habitat|}}}}}
|- valign="top"
|- valign="top"
! style="border: 1px solid #999999;" bgcolor="#ccccff" | '''Effective Weapons'''
! style="border: 1px solid #999999;" bgcolor="#ccccff" | '''Effective Weapons'''
| style="border: 1px solid #999999;" | {{{weapon}}}
| style="border: 1px solid #999999;" | {{{weapon}}}
|-
{{#if:{{{spoils|}}}|
{{if defined call1 | {{{spoils}}} | Enemy/spoils | {{{spoils}}}}}
{{!-}}
|}
! style="border: 1px solid #999999;" bgcolor="#ccccff" {{!}} ''[[The Legend of Zelda: The Wind Waker|TWW]]'' Spoils
 
{{!}} style="border: 1px solid #999999;" {{!}} {{{spoils|}}}}}
<includeonly>[[Category:Enemies]]</includeonly>
|}<includeonly>[[Category:Enemies]]</includeonly>

Revision as of 11:31, 10 October 2006

This template is used to display an enemies vital information and also adds the article to Category:Enemies.

To add this template to an article copy and paste the following code and then fill in the information:

{{Enemy
|name = 
|image = 
|game = 
|habitat = 
|weapon = 
|spoils = 
}}


Infobox Enemy
Game(s) {{{game}}}
Effective Weapons {{{weapon}}}