Difference between revisions of "Template:IBox"
(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: # | + | <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> |