Template:Infobox: Difference between revisions
From GearKnob Wiki
Jump to navigationJump to search
AlexGRFan97 (talk | contribs) mNo edit summary |
AlexGRFan97 (talk | contribs) mNo edit summary |
||
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:30em; {{#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="height: | -->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="height:2em; 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 |