Template:Infobox character: Difference between revisions
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: | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude> | ||
== | ==Info== | ||
Place this template at the top of character articles. This will create an information box with data about the character. | |||
|image | |||
|size | Articles with this template are automatically categorized under [[:Category:Characters]]. | ||
|name | |||
|gender | ==Parameters== | ||
|eyecolor | {| class = "wikitable" | ||
|haircolor | ! Parameter || Mandatory || Default || Detailed description | ||
|home_planet | |- | ||
|family | ! image | ||
|height | | '''Yes''' || || Image file name, with extension. | ||
|firstgame | |- | ||
|latestgame | ! size | ||
|name_call | | No || 160px || Size of the image. | ||
|nocat | |- | ||
}}</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 12: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 = }}