Template:Infobox: Difference between revisions

From GearKnob Wiki
Jump to navigationJump to search
mNo edit summary
m (Altered width.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="2" style="width:30em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; }} {{{bodystyle|}}}"><!--
{{#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="line-height:50px; text-align:center; font-size:150%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
-->{{#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

Latest revision as of 00:17, 9 November 2021