Difference between revisions of "Template:Infobox"
From Kerbal Space Program Wiki
(* made footer optional. * improved param table.) |
(- subtitle and footer, now possible to make using lines.) |
||
Line 6: | Line 6: | ||
|file=Image-needed.png | |file=Image-needed.png | ||
|hovertext=Hover Text (hovertext) | |hovertext=Hover Text (hovertext) | ||
− | |||
|stats= | |stats= | ||
− | {{ | + | {{User:Dgelessus/Infobox/Line|<center>''Homemade Image Subtitle''</center>}} |
− | {{ | + | {{User:Dgelessus/Infobox/Line|One Column}} |
− | {{ | + | {{User:Dgelessus/Infobox/Line|Two|Columns}} |
− | | | + | {{User:Dgelessus/Infobox/Line|And|Three|Columns}} |
+ | {{User:Dgelessus/Infobox/Line|<center><small>Homemade Footer</small></center>}} | ||
|notes=Annotations & Footnotes (notes) | |notes=Annotations & Footnotes (notes) | ||
}} | }} | ||
− | This is a | + | This is a general infobox template, based on the {{tl|Partbox}} and combined with {{tl|Planetbox}}. See [[Template talk:Partbox]] for more information. |
{{Parameter Table|name=text|style=hover|parameters= | {{Parameter Table|name=text|style=hover|parameters= | ||
Line 22: | Line 22: | ||
{{ParameterRow|file|Box image.}} | {{ParameterRow|file|Box image.}} | ||
{{ParameterRow|hovertext|Image hover text.}} | {{ParameterRow|hovertext|Image hover text.}} | ||
− | {{ParameterRow| | + | {{ParameterRow|lines|Lines, use {{:[[User:Dgelessus/Infobox/Line]]}}.}} |
− | |||
− | |||
{{ParameterRow|notes|Footnotes, references style.|Invisible}} | {{ParameterRow|notes|Footnotes, references style.|Invisible}} | ||
}} | }} | ||
Line 35: | Line 33: | ||
|- | |- | ||
| 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}}]] | ||
− | + | {{{lines}}} | |
− | |||
− | |||
− | |||
− | |||
{{#if: {{{notes|}}}|{{!}}- | {{#if: {{{notes|}}}|{{!}}- | ||
{{!}} colspan="3" style="font-size: smaller" {{!}} | {{!}} colspan="3" style="font-size: smaller" {{!}} |
Revision as of 17:43, 9 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.