Difference between revisions of "Template:Infobox"

From The iPhone Wiki
Jump to: navigation, search
m (styles)
m (Giving infoboxes a background and border.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.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