Template:Infobox character: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added caption parameter and changed some things in the documentation.)
m (Nocat.)
Line 15: Line 15:
{{#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>[[Category:Leaders|{{PAGENAME}}]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Leaders|{{PAGENAME}}]]}}</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]


Line 27: Line 27:
|height      = height
|height      = height
|name_call  = filename of the leader calling out their name, used when switching leaders
|name_call  = filename of the leader calling out their name, used when switching leaders
|nocat      = if it has a value, the page it's in will not be categorized on Category:Leaders
}}</pre></noinclude>
}}</pre></noinclude>

Revision as of 15:20, August 6, 2014

Infobox character
[[Image:{{{image}}}|160px|]]
Name {{{name}}}
Gender {{{gender}}}
Home planet [[{{{home_planet}}}]]
Height {{{height}}}

Use

{{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
|nocat       = if it has a value, the page it's in will not be categorized on Category:Leaders
}}