Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:40, 18 August 2026 by Kaph (talk | contribs) (Split remaining inline CSS into /styles.css; delegate shared infobox chrome to Template:Infobox for wiki-wide visual parity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This is a shared metatemplate, not normally used directly on articles -- use Template:Infobox player, Template:Infobox town or Template:Infobox tournament instead. It exists so every infobox on the wiki shares one visual language (transparent panel, faint borders, left-aligned rows) from one stylesheet, the way Wikipedia's Template:Infobox underlies Template:Infobox person and friends.

A specific infobox template pre-renders its own rows (using the shared .loka-infobox-row / .loka-hlist markup patterns below) into one wikitext blob and passes it as content:

{{Infobox
|name={{{name|{{PAGENAME}}}}}
|image={{{image|}}}
|type={{{type|}}}
|content=<!-- pre-built rows and any bespoke sections -->
}}

Parameters

Parameter Description
name Subject name shown in the header. Defaults to the page name.
image Filename of an image uploaded to the wiki (no File: prefix).
imagesize Image width. Defaults to 250px.
type Optional free-text badge shown under the name (e.g. a tournament's Player Run Festival).
content Pre-rendered wikitext for everything below the header/image -- rows, and any section specific to that infobox.

Styling lives in Template:Infobox/styles.css, which defines the shared building blocks every specific infobox's content is built from:

Class Use
loka-infobox-row / loka-infobox-row-key / loka-infobox-row-value A standard label/value row.
loka-infobox-row--wide Modifier for a row whose value needs its own line (e.g. a long list) instead of sitting beside the label.
loka-hlist A <ul> whose <li> items are comma-separated automatically via CSS, for things like a list of names.