Template:Infobox

From Inkipedia, the Splatoon wiki
Revision as of 13:56, 13 April 2017 by Slate (talk | contribs) (Fix for horizontal image)

Produces a basic infobox for a game.

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 title. If absent, the page name is used.
image Optional The filename of the image to display.
caption Optional. Text displayed below the image.

Example

Markup

{{Infobox
|color     = {{SiteColor|Splatoon}}
|title     = Splatoon
|image     = Boxart.jpg
|caption   = North American box art
}}

Output

Splatoon
File:Boxart.jpg
North American box art
{{Infobox
|color     = {{SiteColor|Splatoon 2}}
|title     = Splatoon 2
|caption   = Example
}}

Output

Splatoon 2
Example.png
Example
{{Infobox
|color     = {{SiteColor|Generic}}
|title     = Moray Towers
|image     = Splatoon Stage Moray Towers.png
|caption   = Horizontal image
}}

Output

Moray Towers