Difference between revisions of "Template:Infobox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<noinclude>This is a mockup infobox template, based on the {{tl|Partbox}}. See Template talk:Partbox for more information. {{:User:Dgelessus/Infobox |name=Infobox (name) |...")
 
(+ implemeted some stuff from planetbox.)
Line 1: Line 1:
 
<noinclude>This is a mockup infobox template, based on the {{tl|Partbox}}. See [[Template talk:Partbox]] for more information.
 
<noinclude>This is a mockup infobox template, based on the {{tl|Partbox}}. See [[Template talk:Partbox]] for more information.
 
{{:User:Dgelessus/Infobox
 
{{:User:Dgelessus/Infobox
 +
|width=250
 +
|padding=0
 
|name=Infobox (name)
 
|name=Infobox (name)
 
|file=Image-needed.png
 
|file=Image-needed.png
 
|hovertext=Hover Text (hovertext)
 
|hovertext=Hover Text (hovertext)
 
|subtitle=Image Subtitle Goes ''Here'' (subtitle)
 
|subtitle=Image Subtitle Goes ''Here'' (subtitle)
|more={{Partbox/More|Stats lines (more)|using {{tl|Partbox/More}}}}
+
|more=
 +
{{Partbox/Line|Stats lines (stats)|using {{tl|Partbox/Line}}}}
 +
{{Partbox/Line|More '''lines'''|using {{tl|Partbox/Line}}}}
 +
{{Partbox/Line|Answer|42}}
 
|footer=Footer text (footer)
 
|footer=Footer text (footer)
 
|notes=Annotations & Footnotes (notes)
 
|notes=Annotations & Footnotes (notes)
 
}}
 
}}
 +
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{| style="padding: 0.5em; font-size: 90%; background: #f6f6f6; border: 1px solid #ccc; float: right; width: {{{width}}}px; margin-left: 1em"
+
<div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: {{{width}}}px; margin-left: 1em; padding: {{{padding}}}em">
 +
<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"
 
|-
 
|-
 
| colspan="3" style="background: #ccc;  padding: .5em; text-align: center; font-size: large; font-weight: bold;" | {{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
 
| colspan="3" style="background: #ccc;  padding: .5em; text-align: center; font-size: large; font-weight: bold;" | {{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
Line 18: Line 26:
 
|-
 
|-
 
| colspan="3" style="text-align: center;" | {{{subtitle}}}
 
| colspan="3" style="text-align: center;" | {{{subtitle}}}
{{{more}}}
+
{{{stats}}}
 
|-
 
|-
| colspan="3" style="text-align: center;" | <small>{{{footer}}}
+
| colspan="3" style="text-align: center;" | <small>{{{footer}}}</small>
 
{{#if: {{{notes|}}}|{{!}}-
 
{{#if: {{{notes|}}}|{{!}}-
 
{{!}} colspan="3" style="font-size:smaller;" {{!}}
 
{{!}} colspan="3" style="font-size:smaller;" {{!}}

Revision as of 13:25, 9 June 2013

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