Difference between revisions of "Template:Infobox"
From Kerbal Space Program Wiki
m (+bold title by default;) |
(*use infobox css class;) |
||
Line 30: | Line 30: | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
− | <includeonly><div style=" | + | <includeonly><div class="infobox" style="float: {{if rtl|left|right}}; width: {{{width|200}}}px; margin-{{if rtl|right|left}}: 1em; padding: {{{padding|0.5}}}em; direction: {{if rtl|rtl|ltr}};"> |
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center; font-weight: bold;">{{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</div> | <div style="background: #ccc; font-size: large; padding: .5em; text-align: center; font-weight: bold;">{{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</div> | ||
{| style="font-size: 90%; padding: {{{tpadding|0}}}em; width: 100%" valign="top" | {| style="font-size: 90%; padding: {{{tpadding|0}}}em; width: 100%" valign="top" |
Revision as of 13:48, 22 August 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 old versions of {{Infobox/Part}} (Partbox) and {{Infobox/Body}} (Planetbox). See Template talk:Infobox/Part for more information about the new infoboxes.