Template:Infobox: Difference between revisions

From GearKnob Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
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:5em; {{#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:10em; text-align:center; font-size:200%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="height:10em; 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

Revision as of 15:12, 8 November 2021