Template:Infobox: Difference between revisions
From GearKnob Wiki
Jump to navigationJump to search
AlexGRFan97 (talk | contribs) mNo edit summary |
AlexGRFan97 (talk | contribs) m (Altered width.) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="2" style="width: | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="2" style="width:25em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; }} {{{bodystyle|}}}"><!-- | ||
Caption | Caption | ||
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | ||
Header | Header | ||
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size: | -->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="line-height:25px; text-align:center; font-size:150%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} | ||
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | ||
Subheader1 | Subheader1 |