Template:Infobox/Character: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(Added height parameter.)
Line 2: Line 2:
{| style="border-spacing: 4px;"
{| style="border-spacing: 4px;"
{{InfoboxProperty|color={{{color|}}}|Species|{{{species|}}}}}
{{InfoboxProperty|color={{{color|}}}|Species|{{{species|}}}}}
{{InfoboxProperty|color={{{color|}}}|Height|{{{height|}}}}}
{{InfoboxProperty|color={{{color|}}}|Hair Color|{{{hair|}}}}}
{{InfoboxProperty|color={{{color|}}}|Hair Color|{{{hair|}}}}}
{{InfoboxProperty|color={{{color|}}}|Eye Color|{{{eye|}}}}}
{{InfoboxProperty|color={{{color|}}}|Eye Color|{{{eye|}}}}}
Line 28: Line 29:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>species||Optional.||The [[species]] this character belongs to.
|<code>species||Optional.||The [[species]] this character belongs to.
|- style="vertical-align: top;"
|<code>height||Optional.||This character's height (please format as 123cm (4'5") ).
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>hair</code>||Optional.||The hair color of the character.
|<code>hair</code>||Optional.||The hair color of the character.

Revision as of 09:10, 10 January 2018

Produces an infobox for a character.

Parameters

color Optional. An RGB triplet to use as the base color for formatting. The default color is {{SiteColor|<Generic>}}.
style Optional. A CSS property list to apply to the top-level container.
title Optional. The mode's title. If absent, the page name is used.
image Optional. The filename to display. If not specified, an example image is used.
caption Optional. Text displayed below the image.
species Optional. The species this character belongs to.
height Optional. This character's height (please format as 123cm (4'5") ).
hair Optional. The hair color of the character.
eye Optional. The eye color of the character
age Optional. The age of the character.
gender Optional. The gender of the character.
location Optional. The location of the character.
shop Optional. The shop that the character runs.
members Deprecated. The members that make up the group.

Example

Markup

{{InfoboxCharacter
| color   = {{SiteColor|Splatoon}}
| title   = Crusty Sean
| image   = CrustySean1.png
| caption = Crusty Sean
| gender  = Male
| species = Japanese Tiger Prawn
| shop    = {{shop|Shrimp Kicks}}
| location = [[Booyah Base]]
}}

Output

Template:InfoboxCharacter