Navigation menu

Template:Character-infobox: Difference between revisions

From Metroid Wiki
m (adding appearances.)
(undo status changes. can be mentioned in the page)
 
(50 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px  s
{| class="infobox"
align="center" colspan="2" {{!}} '''''{{PAGENAME}}'''''
|
{| class="infobox-sub"
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
{{#if: {{{image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
<span style="font-size: 10px">{{{caption|}}}</span>}}
|}
|-
|
{| class="infobox-sub"
! Game(s)
{{!}}
{{{games|''None''}}}
|-
{{#if:{{{appearances|}}}|
! Off-Game Appearance(s)
{{!}}
{{{appearances|}}}}}
|-
|-
{{#if:{{{image|}}}|
{{!-}}
! colspan="2"  {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
{{#if:{{{race|}}}|
{{!-}} valign="top"
! Race
{{!}}  {{{race|}}}
}}
{{#if:{{{planet|}}}|
{{#if:{{{planet|}}}|
{{!-}} valign="top"
! Home Planet
! Home Planet
{{!}} {{{planet|}}}
{{!}}
}}
{{{planet|}}}}}
|-
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!-}} valign="top"
! Gender
! Gender
{{!}} {{{gender|}}}
{{!}}
}}
{{{gender|}}}}}
{{#if:{{{games|}}}|
|-
{{!-}} valign="top"
{{#if:{{{voice actor(s)|}}}|
! Games
! Voice Actor(s)
{{!}} {{{games|}}}
{{!}}
}}
{{{voice actor(s)|}}}}}
{{#if:{{{appearances|}}}|
|-
{{!-}} valign="top"
! Appearances
{{!}}  {{{appearances|}}}
}}
{{#if:{{{family|}}}|
{{#if:{{{family|}}}|
{{!-}} valign="top"
! Family
! Family
{{!}} {{{family|}}}
{{!}}
}}
{{{family|}}}}}
{{#if:{{{voice actor(s)|}}}|
|-
{{!-}} valign="top"
! Race
! Voice Actor(s)
{{!}}
{{!}} {{{voice actor(s)|}}}
{{{race|Unknown}}}
}}
|}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>
|}
=== Usage ===
<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}{{#ifeq:{{{race|Unknown}}}|Human|[[Category:Humans]]}}</includeonly><noinclude>{{clear}}
This template is used to display a character's vital information.<br>
 
To add this template to an article copy and paste the following code and then fill in the information (all fields are optional):
== Usage ==
<pre>
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.
{{Character-infobox
 
|image =          an image of the character
To add this template to an article copy and paste the following code and then fill in the information:
|caption =        a caption for the image should one be necessary (be brief)
 
|race =          the physiological race of the character (Human, Chozo, etc.)
*'''''Image:''''' An image of the character, preferably artwork
|planet =        the planet on which the character was born
*'''''Caption:''''' A caption for the image, be brief, always include with an image
|gender =        the gender of the character, if applicable (Male, Female)
*'''''Games:''''' Any games the character appeared in
|games=          any games the character appeared in
*'''''Appearances:''''' Appearances outside of games
|appearances=    appearances outside of games
*'''''Planet:''''' The planet on which the character was born
|family =        any family related to the character
*'''''Gender:''''' The gender of the character <small>(Male, Female, or Unknown)</small>
|voice actor(s) = voice actors who have played the character
*'''''Family:''''' Any family related to the character
}}
*'''''Voice actor(s):''''' Voice actors who have played the character
</pre>
*'''''Race:''''' The physiological race of the character <small>(e.g. Human, Chozo)</small> Write Unknown or Unique if the creature is unique or most likely unique
 
'''Blank code <small>(paste onto page)</small>:'''


'''Blank code (paste onto page):'''
<pre>
<pre>
{{Character-infobox
{{Character-infobox
|image =  
|image=
|caption =
|caption=
|race =  
|planet=
|planet =  
|gender=
|gender =  
|games=
|games =  
|appearances=
|appearances =
|family=
|family =  
|voice actor(s)=
|voice actor(s) =  
|race=
}}
}}
</pre>
</pre>


[[Category: Infobox Templates|{{PAGENAME}}]]
[[Category:Infobox Templates]]</noinclude>
 
</noinclude>

Latest revision as of 20:15, 1 February 2023

Character-infobox
Game(s)

None

Race

Unknown

Usage[edit source]

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:

  • Image: An image of the character, preferably artwork
  • Caption: A caption for the image, be brief, always include with an 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 (e.g. Human, Chozo) 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=
}}