Template:Infobox character: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Reverted edits by Dongmasta666 (talk) to last revision by Espyo)
(New documentation style.)
Line 14: Line 14:
! style="background: #e6e9ff;" | Hair color || {{{haircolor}}}
! style="background: #e6e9ff;" | Hair color || {{{haircolor}}}
|-
|-
! style="background: #e6e9ff;" | Home planet || [[{{{home_planet}}}]]
! style="background: #e6e9ff;" | Home planet || {{#if:{{{home_planet|}}}|[[{{{home_planet}}}]]|Unknown}}
|-
|-
! style="background: #e6e9ff;" | Known family members || {{{family|None}}}
! style="background: #e6e9ff;" | Known family members || {{{family|None}}}
|-
|-
! style="background: #e6e9ff;" | Height || {{{height}}}
! style="background: #e6e9ff;" | Height || {{{height|Unknown}}}
{{#if: {{{firstgame|}}}| {{!}}-
{{#if: {{{firstgame|}}}| {{!}}-
! style="background: #e6e9ff;" {{!}} First game {{!!}} {{{firstgame}}} }}
! style="background: #e6e9ff;" {{!}} First game {{!!}} {{{firstgame}}} }}
Line 25: Line 25:
{{#if:{{{name_call|}}}| {{!}}-
{{#if:{{{name_call|}}}| {{!}}-
{{!}} colspan = "2" {{!}} {{listen|filename={{{name_call}}}|helpnote=no|title=Name call after switching leaders}} }}
{{!}} colspan = "2" {{!}} {{listen|filename={{{name_call}}}|helpnote=no|title=Name call after switching leaders}} }}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Leaders|{{PAGENAME}}]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]


==Use==
==Info==
<pre>{{infobox leader
Place this template at the top of character articles. This will create an information box with data about the character.
|image       = image name with extension
 
|size       = image size
Articles with this template are automatically categorized under [[:Category:Characters]].
|name       = name
 
|gender     = gender
==Parameters==
|eyecolor   = eye color
{| class = "wikitable"
|haircolor   = hair color
! Parameter || Mandatory || Default || Detailed description
|home_planet = home planet
|-
|family     = family members
! image
|height     = height
| '''Yes''' ||  || Image file name, with extension.
|firstgame   = first game they appear in (if none, the first game they are mentioned in)
|-
|latestgame  = latest canon game they appear in
! size
|name_call   = filename of the leader calling out their name, used when switching leaders
| No || 160px || Size of the image.
|nocat       = if it has a value, the page it's in will not be categorized on Category:Leaders
|-
}}</pre></noinclude>
! name
| '''Yes''' ||  || The character's name.
|-
! gender
| '''Yes''' ||  || The character's gender.
|-
! eyecolor
| '''Yes''' ||  || Eye color.
|-
! haircolor
| '''Yes''' ||  || Hair color.
|-
! home_planet
| No || Unknown || The character's home planet. If unknown, leave blank.
|-
! family
| No || None || Known family members. These are family members that have been mentioned or shown in any canon media.
|-
! height
| No || Unknown || The character's official height.
|-
! firstgame
| No ||  || First canon game in which the character appears, and if they do not appear in any, then the first canon game in which they are mentioned.
|-
! latestgame
| No || || Latest canon game in which the character appears.
|-
! name_call
| No ||  || File name for the sound effect that plays when that leader is switched to.
|-
! nocat
| No ||  || If this has a value, like "y" the page it's in will not be categorized.
|}
 
==Template==
<pre>
{{infobox leader
|image      =
|size        =
|name        =
|gender      =
|eyecolor    =
|haircolor  =
|home_planet =
|family      =
|height      =
|firstgame  =
|latestgame  =
|name_call  =
|nocat      =
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>

Revision as of 13:21, October 20, 2014

Infobox character
[[Image:{{{image}}}|160px|]]
Name {{{name}}}
Gender {{{gender}}}
Eye color {{{eyecolor}}}
Hair color {{{haircolor}}}
Home planet Unknown
Known family members 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
image Yes Image file name, with extension.
size No 160px Size of the image.
name Yes The character's name.
gender Yes The character's gender.
eyecolor Yes Eye color.
haircolor Yes Hair color.
home_planet No Unknown The character's home planet. If unknown, leave blank.
family No None Known family members. These are family members that have been mentioned or shown in any canon media.
height No Unknown The character's official height.
firstgame No First canon game in which the character appears, and if they do not appear in any, then the first canon game in which they are mentioned.
latestgame No Latest canon game in which the character appears.
name_call No File name for the sound effect that plays when that leader is switched to.
nocat No If this has a value, like "y" the page it's in will not be categorized.

Template

{{infobox leader
|image       = 
|size        = 
|name        = 
|gender      = 
|eyecolor    = 
|haircolor   = 
|home_planet = 
|family      = 
|height      = 
|firstgame   = 
|latestgame  = 
|name_call   = 
|nocat       = 
}}