Navigation menu

Template:Character-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
(undo status changes. can be mentioned in the page)
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=5 cellspacing=0 align=right width=265px style="Border: {{round|20px}}"
{| class="infobox"
| align="center" style="{{round}} Border:1px solid #{{mw color light}}" {{#if:{{{image|}}}|style="{{roundt}} border:1px solid #{{mw color light}}"}} 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:{{{image|}}}|
{{!-}}
! colspan="2"  style="{{roundb}} Border:1px solid #{{mw color light}}" {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
{{#if:{{{games|}}}|
{{!-}} valign="center"
! style="{{roundtl}} border:1px solid #{{mw color light}}" align="right"{{!}} Games
{{!}} style="{{roundtr}} border:1px solid #{{mw color light}}" {{!}}  {{{games|}}}
}}
{{#if:{{{appearances|}}}|
{{#if:{{{appearances|}}}|
{{!-}} valign="center"
! Off-Game Appearance(s)
! style="{{roundtl}} border:1px solid #{{mw color light}}" {{#if:{{{games|}}}|style="border:1px solid #{{mw color light}}"}} align="right" {{!}} Appearances
{{!}}
{{!}} style="{{roundtr}} border:1px solid #{{mw color light}}" {{#if:{{{games|}}}|style="border:1px solid #{{mw color light}}"}} {{!}} {{{appearances|}}}
{{{appearances|}}}}}
}}
|-
{{#if:{{{planet|}}}|
{{#if:{{{planet|}}}|
{{!-}} valign="center"
! Home Planet
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Home Planet
{{!}}
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{planet|}}}
{{{planet|}}}}}
}}
|-
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!-}} valign="center"
! Gender
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Gender
{{!}}
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{gender|}}}
{{{gender|}}}}}
}}
|-
{{#if:{{{voice actor(s)|}}}|
{{#if:{{{voice actor(s)|}}}|
{{!-}} valign="center"
! Voice Actor(s)
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Voice Actor(s)
{{!}}
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{voice actor(s)|}}}
{{{voice actor(s)|}}}}}
}}
|-
{{#if:{{{family|}}}|
{{#if:{{{family|}}}|
{{!-}} valign="center"
! Family
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Family
{{!}}
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{family|}}}
{{{family|}}}}}
}}
|-
{{!-}} valign="center"
! Race
! style="{{#if:{{{sprite|}}}|{{round|0px}}|{{roundbl}}}} border:1px solid #{{mw color light}}" align="right" {{!}} Race
{{!}}
{{!}} style="{{#if:{{{sprite|}}}|{{round|0px}}|{{roundbr}}}} border:1px solid #{{mw color light}}" {{!}} {{{race|Unknown}}}
{{{race|Unknown}}}
{{#if:{{{sprite|}}}|
|}
{{!-}} valign="center"
|}
! colspan=2 style="{{roundb}} border:1px solid #{{mw color light}}" {{!}} <u>Sprite</u> <br/> {{{sprite|}}}
<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}{{#ifeq:{{{race|Unknown}}}|Human|[[Category:Humans]]}}</includeonly><noinclude>{{clear}}
}}
 
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>{{clear}}
== Usage ==
== 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. <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.
 
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:
{{Character-infobox
*'''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 <small>(Male, Female, or Unknown)</small>
*'''Family:''' Any family related to the character
*'''Voice actor(s):''' Voice actors who have played the character
*'''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
*'''Sprite:''' A single sprite of the character, if the character has more than one notable sprite, it is best to use random tags to randomize between different them


*'''''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 <small>(Male, Female, or Unknown)</small>
*'''''Family:''''' Any family related to the character
*'''''Voice actor(s):''''' Voice actors who have played the character
*'''''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 <small>(paste onto page)</small>:'''
<pre>
<pre>
{{Character-infobox
{{Character-infobox
Line 71: Line 75:
|voice actor(s)=
|voice actor(s)=
|race=
|race=
|sprite=
}}
}}
</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=
}}