Difference between revisions of "Template:Infobox"
From Kerbal Space Program Wiki
m (-surrounding new lines;) |
|||
Line 30: | Line 30: | ||
<includeonly><div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: {{{width|200}}}px; margin-left: 1em; padding: {{{padding|0}}}em"> | <includeonly><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="font-size: 90%; padding={{{tpadding|.5}}}em" valign="top" | + | {| style="font-size: 90%; padding={{{tpadding|.5}}}em; width: 100%" valign="top" |
|- | |- | ||
{{#ifeq: {{{file|}}}|none|{{!}} colspan="3" {{!}} [[File:{{{file|Image-needed.png}}}|{{{width|200}}}px|{{{hovertext|{{{name|{{BASEPAGENAME}}}}}}}}]]}} | {{#ifeq: {{{file|}}}|none|{{!}} colspan="3" {{!}} [[File:{{{file|Image-needed.png}}}|{{{width|200}}}px|{{{hovertext|{{{name|{{BASEPAGENAME}}}}}}}}]]}} |
Revision as of 23:20, 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.