Difference between revisions of "Template:Infobox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+ implemeted some stuff from planetbox.)
m (! fixes.)
Line 7: Line 7:
 
|hovertext=Hover Text (hovertext)
 
|hovertext=Hover Text (hovertext)
 
|subtitle=Image Subtitle Goes ''Here'' (subtitle)
 
|subtitle=Image Subtitle Goes ''Here'' (subtitle)
|more=
+
|stats=
 
{{Partbox/Line|Stats lines (stats)|using {{tl|Partbox/Line}}}}
 
{{Partbox/Line|Stats lines (stats)|using {{tl|Partbox/Line}}}}
 
{{Partbox/Line|More '''lines'''|using {{tl|Partbox/Line}}}}
 
{{Partbox/Line|More '''lines'''|using {{tl|Partbox/Line}}}}
Line 20: Line 20:
 
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{{name|{{BASEPAGENAME}}}}}</div>
 
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{{name|{{BASEPAGENAME}}}}}</div>
 
{| style="padding: 0.5em; font-size: 90%; width: {{{width}}}px" valign="top"
 
{| style="padding: 0.5em; font-size: 90%; width: {{{width}}}px" valign="top"
|-
 
| colspan="3" style="background: #ccc;  padding: .5em; text-align: center; font-size: large; font-weight: bold;" | {{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
 
 
|-
 
|-
 
| colspan="3" | [[File:{{#if: {{{file|}}}|{{{file}}}|Image-needed.png}}|{{{width}}}px|{{#if: {{{hovertext|}}}|{{{hovertext}}}|Image}}]]
 
| colspan="3" | [[File:{{#if: {{{file|}}}|{{{file}}}|Image-needed.png}}|{{{width}}}px|{{#if: {{{hovertext|}}}|{{{hovertext}}}|Image}}]]

Revision as of 13:29, 9 June 2013

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