Difference between revisions of "Template:infobox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Moving inline CSS to common.css)
(Moving widht back in, as it is template specific.)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="{{{bodystyle|}}}"><!--
+
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--

Revision as of 01:39, 8 March 2011