Template:Infobox character: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Ugh.)
(Added a title property.)
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 20em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name}}}''
! colspan="2" class="infoboxTitle" | ''{{{title|{{{name|{{PAGENAME}}}}}}}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | [[Image:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
|-
|-
! style="background: #e6e9ff;" | Name || {{{name}}}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
! style="background: #e6e9ff;" | Gender || {{{gender}}}
! Name
| {{{name}}}
|-
|-
! style="background: #e6e9ff;" | Home planet || [[{{{home_planet}}}]]
{{#if:{{{gender|}}}|! Gender
{{!}} {{{gender}}} }}
|-
|-
! style="background: #e6e9ff;" | Height || {{{height}}}
{{#if:{{{age|}}}|! Age
{{#if:{{{name_call|}}}| {{!}}-
{{!}} {{{age}}} }}
{{!}} colspan = "2" {{!}} {{listen|filename=name_call|helpnote=no|title=Name call after switching leaders}} }}
|-
|}<includeonly>[[Category:Leaders|{{PAGENAME}}]]</includeonly><noinclude>
{{#if:{{{eyecolor|}}}|! Eye color
[[Category:Infobox templates|{{PAGENAME}}]]
{{!}} {{{eyecolor}}} }}
|-
{{#if:{{{haircolor|}}}|! Hair color
{{!}} {{{haircolor}}} }}
|-
! Home planet
| {{#if:{{{homeplanet|}}}|[[{{{homeplanet}}}]]|Unknown}}
|-
! Known related characters
| {{{related|None}}}
|-
! Height
| {{{height|Unknown}}}
|-
{{#if:{{{actor|}}}|! Voice actor
{{!}} {{{actor}}} }}
|-
{{#if:{{{firstgame|}}}|! First game
{{!}} {{{firstgame}}} }}
|-
{{#if:{{{latestgame|}}}|! Latest game
{{!}} {{{latestgame}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>
 
{{clear}}
==Info==
Place this template at the top of character articles. This will create an information box with data about the character.
 
Articles with this template are automatically categorized under [[:Category:Characters]].
 
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
|-
! title
| No ||  || Infobox title, if different from the character's name.
|-
! image
| '''Yes''' ||  || Image file name, with extension.
|-
! size
| No || 160px || Size of the image.
|-
! name
| '''Yes''' ||  || The character's name.
|-
! 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
| No ||  || Eye color.
|-
! haircolor
| No ||  || Hair color.
|-
! homeplanet
| No || Unknown || The character's home planet. If unknown, leave blank.
|-
! related
| 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
| No || Unknown || The character's official height.
|-
! actor
| No ||  || The character's voice actor, if applicable.
|-
! firstgame
| No ||  || First canon game in which the character is mentioned or appears in.
|-
! latestgame
| No ||  || Latest canon game in which the character is mentioned or appears in.
|-
! nocat
| No ||  || If this has a value, like "y" the page it's in will not be categorized.
|}
 
==Skeleton==
<pre>
{{infobox character
|title      =
|image      =
|size      =
|name      =
|gender    =
|age        =
|eyecolor  =
|haircolor  =
|homeplanet =
|related    =
|height    =
|actor      =
|firstgame  =
|latestgame =
|nocat      =
}}
</pre>


==Use==
[[Category:Information boxes]]</noinclude>
<pre>{{infobox leader
|image=image name with extension
|size=image size
|name=name
|gender=gender
|home_planet=home planet
|height=height
|name_call=filename of the leader calling out their name, used when switching leaders
}}</pre></noinclude>

Latest revision as of 15:37, July 1, 2023

Infobox character
[[File:{{{image}}}|160px|]]
Name {{{name}}}
Home planet Unknown
Known related characters None
Height Unknown

Info

Place this template at the top of character articles. This will create an information box with data about the character.

Articles with this template are automatically categorized under Category:Characters.

Parameters

Parameter Mandatory Default Detailed description
title No Infobox title, if different from the character's name.
image Yes Image file name, with extension.
size No 160px Size of the image.
name Yes The character's name.
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 No Eye color.
haircolor No Hair color.
homeplanet No Unknown The character's home planet. If unknown, leave blank.
related 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), mother, brother".
height No Unknown The character's official height.
actor No The character's voice actor, if applicable.
firstgame No First canon game in which the character is mentioned or appears in.
latestgame No Latest canon game in which the character is mentioned or appears in.
nocat No If this has a value, like "y" the page it's in will not be categorized.

Skeleton

{{infobox character
|title      = 
|image      = 
|size       = 
|name       = 
|gender     = 
|age        = 
|eyecolor   = 
|haircolor  = 
|homeplanet = 
|related    = 
|height     = 
|actor      = 
|firstgame  = 
|latestgame = 
|nocat      = 
}}