Template:Infobox character: Difference between revisions

Added a title property.
m (Urgh.)
(Added a title property.)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" class="infoboxTitle" | ''{{{title|{{{name|{{PAGENAME}}}}}}}}''
|-
|-
| colspan="2" style="text-align: center;" | [[Image:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! Name
! Name
| {{{name}}}
| {{{name}}}
|-
|-
! Gender
{{#if:{{{gender|}}}|! Gender
| {{{gender}}}
{{!}} {{{gender}}} }}
|-
|-
! Eye color
{{#if:{{{age|}}}|! Age
| {{{eyecolor}}}
{{!}} {{{age}}} }}
|-
|-
! Hair color
{{#if:{{{eyecolor|}}}|! Eye color
| {{{haircolor}}}
{{!}} {{{eyecolor}}} }}
|-
{{#if:{{{haircolor|}}}|! Hair color
{{!}} {{{haircolor}}} }}
|-
|-
! Home planet
! Home planet
| {{#if:{{{home_planet|}}}|[[{{{home_planet}}}]]|Unknown}}
| {{#if:{{{homeplanet|}}}|[[{{{homeplanet}}}]]|Unknown}}
|-
|-
! Known related characters
! Known related characters
Line 26: Line 29:
! Height
! Height
| {{{height|Unknown}}}
| {{{height|Unknown}}}
{{#if: {{{firstgame|}}}| {{!}}-
|-
! First game
{{#if:{{{actor|}}}|! Voice actor
{{!}} {{{actor}}} }}
|-
{{#if:{{{firstgame|}}}|! First game
{{!}} {{{firstgame}}} }}
{{!}} {{{firstgame}}} }}
{{#if: {{{latestgame|}}}| {{!}}-
|-
! Latest game
{{#if:{{{latestgame|}}}|! Latest game
{{!}} {{{latestgame}}} }}
{{!}} {{{latestgame}}} }}
{{#if:{{{name_call|}}}| {{!}}-
{{!}} colspan = "2" {{!}} {{listen|filename={{{name_call}}}|helpnote=no|title=Name call after switching leaders}} }}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>


{{clear}}
==Info==
==Info==
Place this template at the top of character articles. This will create an information box with data about the character.
Place this template at the top of character articles. This will create an information box with data about the character.
Line 44: Line 49:
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
! title
| No ||  || Infobox title, if different from the character's name.
|-
|-
! image
! image
Line 55: Line 63:
|-
|-
! gender
! gender
| '''Yes''' ||  || The character's gender.
| No ||  || The character's gender.
|-
! age
| No ||  || The character's age. If unknown but the stage of life is evident, write the name of the stage (e.g. adulthood), followed by "(age unknown)".
|-
|-
! eyecolor
! eyecolor
| '''Yes''' ||  || Eye color.
| No ||  || Eye color.
|-
|-
! haircolor
! haircolor
| '''Yes''' ||  || Hair color.
| No ||  || Hair color.
|-
|-
! home_planet
! homeplanet
| No || Unknown || The character's home planet. If unknown, leave blank.
| No || Unknown || The character's home planet. If unknown, leave blank.
|-
|-
! related
! related
| No || None || Known related characters, like family members. These characters that have been mentioned or shown in any [[Pikipedia:Canon|canon]] media.
| No || None || Known related characters, like family members. These are characters that have been mentioned or shown in any [[canon]] media. These should be comma-separated, and after each one's name (if known), the relation should be in parenthesis. e.g.: "[[Olimar]] (father), [[Olimar's wife|mother]], [[Olimar's son|brother]]".
|-
|-
! height
! height
| No || Unknown || The character's official height.
| No || Unknown || The character's official height.
|-
! actor
| No ||  || The character's voice actor, if applicable.
|-
|-
! firstgame
! firstgame
Line 77: Line 91:
! latestgame
! latestgame
| No ||  || Latest canon game in which the character is mentioned or appears in.
| No ||  || Latest canon game in which the character is mentioned or appears in.
|-
! name_call
| No ||  || File name for the sound effect that plays when that leader is switched to.
|-
|-
! nocat
! nocat
Line 85: Line 96:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{infobox character
{{infobox character
|title      =
|image      =  
|image      =  
|size      =  
|size      =  
|name      =  
|name      =  
|gender    =  
|gender    =  
|age        =
|eyecolor  =  
|eyecolor  =  
|haircolor  =  
|haircolor  =  
Line 97: Line 110:
|related    =  
|related    =  
|height    =  
|height    =  
|actor      =
|firstgame  =  
|firstgame  =  
|latestgame =  
|latestgame =  
|namecall  =
|nocat      =  
|nocat      =  
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]
[[Category:Information boxes]]</noinclude>
</noinclude>