Difference between revisions of "Template:IBox"

From The Powder Toy
Jump to: navigation, search
(Information box template)
 
(Better style for information box)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<table class="IBox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
 
<table class="IBox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<tr style="background: #E2E2F3">
+
<tr style="background: #F0F0F5">
 
{{#if:{{{image|}}}{{{header|}}}
 
{{#if:{{{image|}}}{{{header|}}}
 
| <th class="IBox-Image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
 
| <th class="IBox-Image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
 
| <td class="IBox-Empty-Cell"></td>
 
| <td class="IBox-Empty-Cell"></td>
 
}}
 
}}
<td class="IBox-Text" style="background: #F6F9ED;">{{{text|}}}</td>
+
<td class="IBox-Text" style="padding: 3px 8px; background: #FEFEFE;">{{{text|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Latest revision as of 00:43, 18 May 2012