Difference between revisions of "Template:Infobox"

From Kerbal Space Program Wiki
Jump to: navigation, search
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 Row|width|Box width in pixels.|<tt>200</tt>}}
+
{{Parameter row|width|Box width in pixels.|<tt>200</tt>}}
{{Parameter Row|padding|Padding in <tt>em</tt>.|<tt>0.2</tt>}}
+
{{Parameter row|padding|Padding in <tt>em</tt>.|<tt>0.2</tt>}}
{{Parameter Row|tpadding|Padding of the table in <tt>em</tt>|<tt>0</tt>}}
+
{{Parameter row|tpadding|Padding of the table in <tt>em</tt>|<tt>0</tt>}}
{{Parameter Row|name|Box title.|Base page name}}
+
{{Parameter row|name|Box title.|Base page name}}
{{Parameter Row|file|Box image. When set to <tt>none</tt> doesn't display any image.|[[:File:Image needed.svg]]}}
+
{{Parameter row|file|Box image. When set to <tt>none</tt> doesn't display any image.|[[:File:Image needed.svg]]}}
{{Parameter Row|file style|CSS style for the infobox image.|Not set}}
+
{{Parameter row|file style|CSS style for the infobox image.|Not set}}
{{Parameter Row|hovertext|Image hover text.|<tt>name</tt> or base page name}}
+
{{Parameter row|hovertext|Image hover text.|<tt>name</tt> or base page name}}
{{Parameter Row|lines|Lines, use {{tl|Infobox/Line}}.}}
+
{{Parameter row|lines|Lines, use {{tl|Infobox/Line}}.}}
{{Parameter Row|notes|Footnotes, references style.|Invisible}}
+
{{Parameter row|notes|Footnotes, references style.|Invisible}}
 
}}
 
}}
  

Revision as of 20:52, 26 November 2014

Infobox (name)
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.

Template:Parameter Table

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