Difference between revisions of "Template:Infobox"
From Kerbal Space Program Wiki
m (! inefficient code. * made some stuff optional.) |
(! attemptig to fix strange style.) |
||
Line 30: | Line 30: | ||
<div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: {{{width|200}}}px; margin-left: 1em; padding: {{{padding|0}}}em"> | <div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: {{{width|200}}}px; margin-left: 1em; padding: {{{padding|0}}}em"> | ||
<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=" | + | {| style="font-size: 90%" valign="top" |
|- | |- | ||
| colspan="3" | [[File:{{{file|Image-needed.png}}}|{{{width|200}}}px|{{{hovertext|{{{name|{{BASEPAGENAME}}}}}}}}]] | | colspan="3" | [[File:{{{file|Image-needed.png}}}|{{{width|200}}}px|{{{hovertext|{{{name|{{BASEPAGENAME}}}}}}}}]] |
Revision as of 21:11, 14 June 2013
User:Dgelessus/Infobox This is a general infobox template, based on the {{Partbox}} and combined with {{Planetbox}}. See Template talk:Partbox for more information.