Difference between revisions of "Template:Infobox"
From Kerbal Space Program Wiki
m (+sort key for category;) |
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';) |
||
Line 18: | Line 18: | ||
{{Parameter Table|name=text|style=hover|parameters= | {{Parameter Table|name=text|style=hover|parameters= | ||
− | {{Parameter | + | {{Parameter row|width|Box width in pixels.|<tt>200</tt>}} |
− | {{Parameter | + | {{Parameter row|padding|Padding in <tt>em</tt>.|<tt>0.2</tt>}} |
− | {{Parameter | + | {{Parameter row|tpadding|Padding of the table in <tt>em</tt>|<tt>0</tt>}} |
− | {{Parameter | + | {{Parameter row|name|Box title.|Base page name}} |
− | {{Parameter | + | {{Parameter row|file|Box image. When set to <tt>none</tt> doesn't display any image.|[[:File:Image needed.svg]]}} |
− | {{Parameter | + | {{Parameter row|file style|CSS style for the infobox image.|Not set}} |
− | {{Parameter | + | {{Parameter row|hovertext|Image hover text.|<tt>name</tt> or base page name}} |
− | {{Parameter | + | {{Parameter row|lines|Lines, use {{tl|Infobox/Line}}.}} |
− | {{Parameter | + | {{Parameter row|notes|Footnotes, references style.|Invisible}} |
}} | }} | ||
Revision as of 20:52, 26 November 2014
Infobox (name) | ||
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.
The Category:Infobox templates contains all templates which directly use this template.