Difference between revisions of "Template:IBox"
m (moved Template:HBox to Template:IBox: Herp derp, I can't spell "I" correctly) |
(Better style for information box) |
||
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: # | + | <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: # | + | <td class="IBox-Text" style="padding: 3px 8px; background: #FEFEFE;">{{{text|}}}</td> |
</tr> | </tr> | ||
</table> | </table> |