Difference between revisions of "Template:Infobox"

From The iPhone Wiki
Jump to: navigation, search
m (minor change)
m (Giving infoboxes a background and border.)
 
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" class="infobox" cellspacing="5" style="color: black; margin: 0.5em 0 1.5em 1em; padding: 0.2em; float: right; clear: right; text-align: left; font-size: 88%; line-height: 1.5em;width:22em; {{{bodystyle|}}}"><!--
+
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" class="infobox" cellspacing="5" style="background-color:#FFF; border: 1px solid #000; color: #000; margin: 0.5em 0 1.5em 1em; padding: 0.2em; float: right; clear: right; text-align: left; font-size: 88%; line-height: 1.5em;width:22em; {{{bodystyle|}}}"><!--
 
Caption
 
Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--

Latest revision as of 05:29, 3 February 2016