Difference between revisions of "Template:Infobox"
From CHG-Wiki
Jump to navigationJump to searchm (Testing formatting, might need to roll back.) |
|||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing=" | + | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="1" style="border-spacing: 2px; width:10em; {{{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="text-align:center; font-size:100%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} |
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | ||
Subheader1 | Subheader1 |