Navigation menu

Template:Character-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|  class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="Border: {{round}}; Border: 1px solid #64486a; Background-color: #3b2541;"
{|  class="infobox" cellpadding=2 cellspacing=0 align=right width=265px style="Border: {{round|17px}}"
|  align="center" colspan="2" style="Border: {{round}}; Border: 1px solid #64486a; Background-color: #1d1427;" {{!}}  '''''{{PAGENAME}}'''''
|  align="center" style="{{round}} Border:1px solid #{{mw color light}}" {{#if:{{{image|}}}|style="{{roundt}} border:1px solid #{{mw color light}}"}} colspan="2" {{!}}  '''''{{PAGENAME}}'''''
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!-}}
{{!-}}
! colspan="2" style="Border: {{round}}; Border: 1px solid #64486a; Background-color: #1d1427;" {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
! colspan="2" style="{{roundb}} Border:1px solid #{{mw color light}}" {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
{{#if:{{{race|}}}|
{{#if:{{{games|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
{{!-}} valign="top"  
! Race
! style="{{roundtl}} border:1px solid #{{mw color light}}" {{!}} Games
{{!}}   {{{race|}}}
{{!}} style="{{roundtr}} border:1px solid #{{mw color light}}" {{!}}  {{{games|}}}
}}
{{#if:{{{appearances|}}}|
{{!-}} valign="top"
! style="{{roundtl}} border:1px solid #{{mw color light}}" {{!}} {{#if:{{{games|}}}|style="border:1px solid #{{mw color light}}"} {{!}} Appearances
{{!}} style="{{roundtr}} border:1px solid #{{mw color light}}" {{!}} {{#if:{{{games|}}}|style="border:1px solid #{{mw color light}}"}} {{{appearances|}}}
}}
}}
{{#if:{{{planet|}}}|
{{#if:{{{planet|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
{{!-}} valign="top"  
! Home Planet
! style="border:1px solid #{{mw color light}}" {{!}} Home Planet
{{!}} {{{planet|}}}
{{!}} style="border:1px solid #{{mw color light}}" {{{planet|}}}
}}
}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
{{!-}} valign="top"  
! Gender
! style="border:1px solid #{{mw color light}}" {{!}} Gender
{{!}} {{{gender|}}}
{{!}} style="border:1px solid #{{mw color light}}" {{{gender|}}}
}}
{{#if:{{{games|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
! Games
{{!}} {{{games|}}}
}}
}}
{{#if:{{{appearances|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
! Appearances
{{!}}  {{{appearances|}}}
}}
}}
{{#if:{{{family|}}}|
{{#if:{{{family|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
{{!-}} valign="top"  
! Family
! style="border:1px solid #{{mw color light}}" {{!}} Family
{{!}} {{{family|}}}
{{!}} style="border:1px solid #{{mw color light}}" {{{family|}}}
}}
}}
{{#if:{{{voice actor(s)|}}}|
{{#if:{{{voice actor(s)|}}}|
{{!-}} valign="top" style="Border: 1px solid #64486a; Background-color: #1d1427;"
{{!-}} valign="top"  
! Voice Actor(s)
! style="border:1px solid #{{mw color light}}" {{!}} Voice Actor(s)
{{!}} {{{voice actor(s)|}}}
{{!}} style="border:1px solid #{{mw color light}}" {{{voice actor(s)|}}}
{{#if:{{{race|}}}|
{{!-}} valign="top"
! style="{{roundbl}} border:1px solid #{{mw color light}}" {{!}} Race
{{!}} style="{{roundbr}} border:1px solid #{{mw color light}}" {{{race|}}}
}}
}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>
=== Usage ===
=== Usage ===
This template is used to display a character's vital information.<br>
This template is used to display a character's vital information. Either games, appearance, or both must be present. Race must also be present. The other fields are optional. <br/>
To add this template to an article copy and paste the following code and then fill in the information (all fields are optional):
To add this template to an article copy and paste the following code and then fill in the information:
<pre>
<pre>
{{Character-infobox
{{Character-infobox
|image =          an image of the character
|image =          an image of the character
|caption =        a caption for the image should one be necessary (be brief)
|caption =        a caption for the image (be brief, always include with image)
|race =          the physiological race of the character (Human, Chozo, etc.)
|games =          any games the character appeared in
|appearances =    appearances outside of games
|planet =        the planet on which the character was born
|planet =        the planet on which the character was born
|gender =        the gender of the character, if applicable (Male, Female)
|gender =        the gender of the character (Male, Female, or Unknown)
|games=          any games the character appeared in
|appearances=    appearances outside of games
|family =        any family related to the character
|family =        any family related to the character
|voice actor(s) = voice actors who have played the character
|voice actor(s) = voice actors who have played the character
|race =          the physiological race of the character (Human, Chozo, etc.) Write Unknown or Unique if the creature is unique or most likely unique
}}
}}
</pre>
</pre>
Line 63: Line 63:
|image =  
|image =  
|caption =  
|caption =  
|race =
|planet =  
|planet =  
|gender =  
|gender =  
Line 70: Line 69:
|family =  
|family =  
|voice actor(s) =  
|voice actor(s) =  
|race =
}}
}}
</pre>
</pre>

Revision as of 21:10, 5 September 2010

{{#if:|
Character-infobox
Voice Actor(s) style="border:1px solid #6e3c80"

Usage

This template is used to display a character's vital information. Either games, appearance, or both must be present. Race must also be present. The other fields are optional.
To add this template to an article copy and paste the following code and then fill in the information:

{{Character-infobox
|image =          an image of the character
|caption =        a caption for the image (be brief, always include with image)
|games =           any games the character appeared in
|appearances =     appearances outside of games
|planet =         the planet on which the character was born
|gender =         the gender of the character (Male, Female, or Unknown)
|family =         any family related to the character
|voice actor(s) = voice actors who have played the character
|race =           the physiological race of the character (Human, Chozo, etc.) Write Unknown or Unique if the creature is unique or most likely unique
}}

Blank code (paste onto page):

{{Character-infobox
|image = 
|caption = 
|planet = 
|gender = 
|games = 
|appearances =
|family = 
|voice actor(s) = 
|race = 
}}