Template:Infobox character: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Why are dynamic table rows the worst thing in MediaWiki templates?) |
||
Line 28: | Line 28: | ||
{{#if: {{{firstgame|}}}| {{!}}- | {{#if: {{{firstgame|}}}| {{!}}- | ||
! First game | ! First game | ||
{{!}} {{{firstgame}}} }}{{#if: {{{latestgame|}}}| {{!}}- | {{!}} {{{firstgame}}} }}{{#if: {{{latestgame|}}}| | ||
{{!}}- | |||
! Latest game | ! Latest game | ||
{{!}} {{{latestgame}}} }}{{#if:{{{namecall|}}}| {{!}}- | {{!}} {{{latestgame}}} }}{{#if:{{{namecall|}}}| | ||
{{!}}- | |||
{{!}} colspan = "2" {{!}} {{listen|filename={{{namecall}}}|helpnote=no|title=Name call after switching leaders}} }} | {{!}} colspan = "2" {{!}} {{listen|filename={{{namecall}}}|helpnote=no|title=Name call after switching leaders}} }} | ||
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude> | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude> |
Revision as of 16:52, December 8, 2014
Infobox character | |
---|---|
[[Image:{{{image}}}|160px|]] | |
Name | {{{name}}} |
Gender | {{{gender}}} |
Eye color | {{{eyecolor}}} |
Hair color | {{{haircolor}}} |
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 |
---|---|---|---|
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. | |
homeplanet | No | Unknown | The character's home planet. If unknown, leave blank. |
related | No | None | Known related characters, like family members. These characters 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 is mentioned or appears in. | |
latestgame | No | Latest canon game in which the character is mentioned or appears in. | |
namecall | 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 character |image = |size = |name = |gender = |eyecolor = |haircolor = |homeplanet = |related = |height = |firstgame = |latestgame = |namecall = |nocat = }}