Difference between revisions of "Template:infobox"
(add support for italic titles, per discussion) |
(Moving inline CSS to common.css) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style=" | + | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="{{{bodystyle|}}}"><!-- |
Caption | Caption | ||
− | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style=" | + | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- |
Header | Header | ||
-->{{#if:{{{above|}}}|{{Infobox/row | -->{{#if:{{{above|}}}|{{Infobox/row |