Navigation menu
Template:Character-infobox: Difference between revisions
From Metroid Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
! Race | ! Race | ||
{{!}} {{{race|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | {{!}} {{{race|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2 | |- {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} valign="top" | ||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
{{!-}}{{#ifexpr:{{#var:num}} mod 2 | {{!-}}{{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} | ||
! Gender | ! Gender | ||
{{!}} {{{gender|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | {{!}} {{{gender|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2 | |- {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} valign="top" | ||
{{#if:{{{games|}}}| | {{#if:{{{games|}}}| | ||
{{!-}}{{#ifexpr:{{#var:num}} mod 2 | {{!-}}{{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} | ||
! Games | ! Games | ||
{{!}} {{{games|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | {{!}} {{{games|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2 | |- {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} valign="top" | ||
{{#if:{{{family|}}}| | {{#if:{{{family|}}}| | ||
{{!-}} {{#ifexpr:{{#var:num}} mod 2 | {{!-}} {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} | ||
! Family | ! Family | ||
{{!}} {{{family|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | {{!}} {{{family|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2 | |- {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} valign="top" | ||
{{#if:{{{voice actor(s)|}}}| | {{#if:{{{voice actor(s)|}}}| | ||
{{!-}} {{#ifexpr:{{#var:num}} mod 2 | {{!-}} {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} | ||
! Voice Actor(s) | ! Voice Actor(s) | ||
{{!}} {{{voice actor(s)|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | {{!}} {{{voice actor(s)|}}}{{#vardefine:num|{{#expr:{{#var:number}}+1}}}}}} | ||
|- {{#ifexpr:{{#var:num}} mod 2 | |- {{#ifexpr:{{#var:num}} mod 2>0|bgcolor="#3b587e"|{{void}}}} valign="top" | ||
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:People]]}}</includeonly>{{#ifeq:{{NAMESPACE}}|User|--|{{Void}}}}{{#ifeq: {{NAMESPACE}}|User|>|{{Void}}}}<noinclude> | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:People]]}}</includeonly>{{#ifeq:{{NAMESPACE}}|User|--|{{Void}}}}{{#ifeq: {{NAMESPACE}}|User|>|{{Void}}}}<noinclude> | ||
=== Usage === | === Usage === |
Revision as of 17:45, 13 March 2010
Character-infobox |
Usage
This template is used to display a character's vital information.
To add this template to an article copy and paste the following code and then fill in the information (all fields are optional):
{{Character |image = an image of the character |caption = a caption for the image should one be necessary (be brief) |race = the physiological race of the character (Human, Chozo, etc.) |gender = the gender of the character, if applicable (Male, Female) |games= the most recent game the character appeared in |family = any family related to the character |voice actor(s) = voice actors who have played the character }}
Blank code (paste onto page):
{{Character |image = |caption = |race = |gender = |games= |family = |voice actor(s) = }}