Template:Infobox

From Kerbal Space Program Wiki
Revision as of 21:14, 18 March 2018 by ArnePeirs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Infobox (name)
Template (subtitle)Image needed.svg
Hover Text (hovertext)
Homemade Image Subtitle
One Column
Two Columns
And Three
Columns
Multiple Types (Type 1) Value 1
(Type 2) Value 2
Homemade Footer

Annotations & Footnotes (notes)

This is a general infobox template, based on the old versions of {{Infobox/Part}} (Partbox) and {{Infobox/Body}} (Planetbox). See Template talk:Infobox/Part for more information about the new infoboxes.

Name Optional Description
width ✓ Yes Box width in pixels. Default: 200
padding ✓ Yes Padding in em. Default: 0.2
tpadding ✓ Yes Padding of the table in em Default: 0
name ✓ Yes Box title. Default: Base page name
subtitle ✓ Yes Box subtitle Default: Hidden
icon ✓ Yes File next to title and subtitle Default: Not set/Hidden
icon width ✓ Yes File next to title and subtitle width in pixels Default: If subtitle present: 48 pixels. Else: 37 pixels.
file ✓ Yes Box image. When set to none doesn't display any image. Default: File:Image needed.svg
file style ✓ Yes CSS style for the infobox image. Default: Not set
thumb ✓ Yes An image description displayed below the image Default: Not set
file extra1 ✓ Yes An extra image displayed below the first image Default: Not set
thumb extra1 ✓ Yes An image description displayed below the first extra image Default: Not set
file extra2 ✓ Yes An extra image displayed below the first image Default: Not set
thumb extra2 ✓ Yes An image description displayed below the second extra image Default: Not set
hovertext ✓ Yes Image hover text. Default: name or base page name
lines × No Lines, use {{Infobox/Line}}.
notes ✓ Yes Footnotes, references style. Default: Invisible

The Category:Infobox templates contains all templates which directly use this template.