Difference between revisions of "Template:Infobox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (! fixes.)
(+ parameter box.)
Line 1: Line 1:
<noinclude>This is a mockup infobox template, based on the {{tl|Partbox}}. See [[Template talk:Partbox]] for more information.
+
<noinclude>
 
{{:User:Dgelessus/Infobox
 
{{:User:Dgelessus/Infobox
 
|width=250
 
|width=250
|padding=0
+
|padding=.5
 
|name=Infobox (name)
 
|name=Infobox (name)
 
|file=Image-needed.png
 
|file=Image-needed.png
Line 13: Line 13:
 
|footer=Footer text (footer)
 
|footer=Footer text (footer)
 
|notes=Annotations & Footnotes (notes)
 
|notes=Annotations & Footnotes (notes)
 +
}}
 +
This is a mockup infobox template, based on the {{tl|Partbox}}. See [[Template talk:Partbox]] for more information.
 +
 +
{{Parameter Table|name=text|style=hover|parameters=
 +
{{ParameterRow|width|Box width in pixels}}
 +
{{ParameterRow|padding|Padding in <tt>em</tt>}}
 +
{{ParameterRow|name|Box title}}
 +
{{ParameterRow|file|Box image}}
 +
{{ParameterRow|hovertext|Image hover text}}
 +
{{ParameterRow|subtitle|Image subtitle}}
 +
{{ParameterRow|stats|Stats lines, use {{tl|Partbox/Line}}}}
 +
{{ParameterRow|footer|Footer text}}
 +
{{ParameterRow|notes|Footnotes, references style}}
 
}}
 
}}
  
Line 33: Line 46:
 
}}
 
}}
 
|}
 
|}
 +
</div>
 
</includeonly>
 
</includeonly>

Revision as of 13:46, 9 June 2013

User:Dgelessus/Infobox This is a mockup infobox template, based on the {{Partbox}}. See Template talk:Partbox for more information.

Template:Parameter Table