Template:Nmbox: Difference between revisions

Content deleted Content added
more neutral colouring (gray & white) to fit in better with pages
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1:
<table class="nmbox" style="border:1px solid #aaaaaaa2a9b1; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<tr style="background: #d8d8d8eaecf0">
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em8px; border-right: 1px solid #aaaaaaa2a9b1;">{{{image|}}} {{{header|}}}</th>
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
}}
<td class="mbox-text {{{text-class|}}}" style="background: #ffffff; padding: 4px 1em8px;">
{{{text|}}}
</td>
</tr></table>