The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Infobox"
m |
m (Giving infoboxes a background and border.) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="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="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- |
+ | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- |
Header |
Header |
||
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} |
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} |