FANDOM


[view · edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)

Meta-template used for constructing infobox templates. Infoboxes are fixed-format tables designed to be added to the top right-hand corner of articles to consistently present a summary of the article content.

Usage

{{Infobox
|title         ={{{title|empty}}}
|titlehead     =example
|titleheadlink =examples
|image         ={{{image|empty}}}
|image_px      ={{{image_px|}}}
|data          =
{{Datarow|Example label|Example content}}
|extra         =Example footnote
}}

Most of the parameters should usually be passed down from the "end" infobox (i.e. the ones directly used in articles). The exceptions are "technical" parameters which determine the look of the infobox itself (columns, data, titlehead, titleheadlink, width).

Parameters

S
(default: "2")
columns
Amount of columns the infobox has. This may need to be changed when using certain "components".
R
data
The content rows of the infobox, specified by using the templates listed in "Components" below.
N
desc, desc2
Description for the corresponding image, displayed below the image.
N
extra, extra2
Content of row(s) below main infobox content, i.e. below the data rows.
N
game up to game5
Game abbreviation(s); for accepted abbreviations please see {{abb}}. These are used to create dynamic links for titlehead. For usage details, please see titleheadlink below.
N
icon
Small image in the main infobox header, to the right of title, titlehead and subtitle.
N
(default: "55x55px")
icon_px
Dimensions (height and width) of icon.
N
image, image2
Name of full-width image(s) (without "File:") displayed below main header and above components specified in data.
N
(default: "(width-25)x(width-25)px")
image_px, image2_px
Width of the corresponding image, e.g. "250px". If set to "noresize", the image will be displayed at its original size. Be careful not to make this wider than the infobox itself (see width below).
N
subtitle
Text in small font below title.
R
title
Main title/"headline" of the infobox.
N
titlehead
Text in small font above title. Titleheads can be created dynamically by using the parameters game, game2 etc (up to game5). For details, see titleheadlink below.
N
titleheadlink
This parameter links titlehead to an overview page (like Weapon). When used in conjunction with game parameters, it can be used to dynamically create links to game-specific overview pages (like Fallout 3 weapons. For the exact behaviour please see {{abblink}}. This is useful if an infobox template is used for multiple games and you want it to link to the correct overview pages depending on which game it is used for. For example, setting titlehead to "weapon" and titleheadlink to "weapons", you can then let the editor in the respective article specify the game parameters and it will link to the correct overview page (e.g. "Fallout 3 weapons" if the editor enters "FO3").
N
(default: "275")
width
Width of the infobox in pixels. Infoboxes should only be resized if really necessary in order to achieve a standardized look across all infoboxes.

Components

For details on how to use the components see their respective pages.

See also: Category:Infobox components.

Example

Example title
Wiki
Example label Example content
Example footnote
{{infobox
|title         =Example title
|titlehead     =item
|titleheadlink =Items - Small Guns
|image         =Wiki.png
|image_px      =100px
|data          =
{{Datarow|Example label|Example content}}
|extra         =Example footnote
}}

Technical

Documentation transcluded from Template:Infobox/doc.
Community content is available under CC-BY-SA unless otherwise noted.