Navigation menu
Template:Boss-infobox: Difference between revisions
From Metroid Wiki
(There we go.) |
(Reformatted.) |
||
Line 1: | Line 1: | ||
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e;" | {{#vardefine:num|0}} | ||
| align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial; font-size:13px" {{!}} ''''' | {| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e; background-color:#1e1528" | ||
| align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial; font-size:13px" {{!}} '''''{{PAGENAME}}''''' | |||
|- | |- | ||
| | {{#if:{{{image|}}}| | ||
|- bgcolor=#3b587e | {{!-}} | ||
| | ! colspan="2" {{!}} {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}} | ||
| {{{games}}} | |- bgcolor="#3b587e" valign="top" | ||
|- | {{#if:{{{games|}}}| | ||
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | |||
| {{{ | ! Games | ||
|- bgcolor=#3b587e | {{!}} {{{games|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top" | |||
| {{{ | {{#if:{{{location|}}}| | ||
|- | {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | ||
! Location | |||
| {{{ | {{!}} {{{location|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | ||
|- bgcolor=#3b587e | |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top" | ||
{{#if:{{{attacks|}}}| | |||
| {{{ | {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | ||
! Attacks | |||
{{!}} {{{attacks|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | |||
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top" | |||
{{#if:{{{weaknesses|}}}| | |||
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | |||
! Weakness(es) | |||
{{!}} {{{weaknesses|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | |||
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top" | |||
{{#if:{{{rewards|}}}| | |||
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | |||
! Rewards | |||
{{!}} {{{rewards|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 18:32, 13 March 2010
Boss-infobox |
Usage
To use this template copy the following and fill in the appropriate information.
{{Boss-infobox |image= |caption= |games= |location= |attacks= |weaknesses= |rewards= }}