Difference between revisions of "Template:Infobox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+ example row with multiple types.)
m (* updated and cleaned up, page should work after move.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{:User:Dgelessus/Infobox
+
{{move|Template:Infobox|ready to become official}}
 +
{{Infobox
 
|width=250
 
|width=250
 
|padding=.5
 
|padding=.5
Line 8: Line 9:
 
|hovertext=Hover Text (hovertext)
 
|hovertext=Hover Text (hovertext)
 
|lines=
 
|lines=
{{User:Dgelessus/Infobox/Line|style=text-align:center; font-style:italic;|Homemade Image Subtitle}}
+
{{Infobox/Line|style=text-align:center; font-style:italic;|Homemade Image Subtitle}}
{{User:Dgelessus/Infobox/Line|One Column}}
+
{{Infobox/Line|One Column}}
{{User:Dgelessus/Infobox/Line|Two|Columns}}
+
{{Infobox/Line|Two|Columns}}
{{User:Dgelessus/Infobox/Line|And|Three|Columns}}
+
{{Infobox/Line|And|Three|Columns}}
{{User:Dgelessus/Infobox/Line|Multiple Types|Value 1|Value 2|type1=Type 1|type2=Type 2}}
+
{{Infobox/Line|Multiple Types|Value 1|Value 2|type1=Type 1|type2=Type 2}}
{{User:Dgelessus/Infobox/Line|style=text-align:center; font-size:smaller;|Homemade Footer}}
+
{{Infobox/Line|style=text-align:center; font-size:smaller;|Homemade Footer}}
 
|notes=Annotations & Footnotes (notes)
 
|notes=Annotations & Footnotes (notes)
 
}}
 
}}
This is a general infobox template, based on the {{tl|Partbox}} and combined with {{tl|Planetbox}}. See [[Template talk:Partbox]] for more information.
+
This is a general infobox template, based on the {{tl|Partbox}} and {{tl|Planetbox}}. See [[Template talk:Partbox]] for more information about the new infoboxes.
  
 
{{Parameter Table|name=text|style=hover|parameters=
 
{{Parameter Table|name=text|style=hover|parameters=
Line 25: Line 26:
 
{{ParameterRow|file|Box image.|Image-needed.png}}
 
{{ParameterRow|file|Box image.|Image-needed.png}}
 
{{ParameterRow|hovertext|Image hover text.|<tt>name</tt> or base page name}}
 
{{ParameterRow|hovertext|Image hover text.|<tt>name</tt> or base page name}}
{{ParameterRow|lines|Lines, use <tt>{{:[[User:Dgelessus/Infobox/Line]]}}</tt>.}}
+
{{ParameterRow|lines|Lines, use {{tl|Infobox/Line}}.
 
{{ParameterRow|notes|Footnotes, references style.|Invisible}}
 
{{ParameterRow|notes|Footnotes, references style.|Invisible}}
 
}}
 
}}

Revision as of 21:09, 23 June 2013

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 {{Partbox}} and {{Planetbox}}. See Template talk:Partbox for more information about the new infoboxes.

{{Parameter Table|name=text|style=hover|parameters= Template:ParameterRow Template:ParameterRow Template:ParameterRow Template:ParameterRow Template:ParameterRow Template:ParameterRow Template:ParameterRow