Template:Nmbox: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
more neutral colouring (gray & white) to fit in better with pages
probably doesn't need nowrap
Line 2: Line 2:
<tr style="background: #d8d8d8">
<tr style="background: #d8d8d8">
{{#if:{{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
| <th class="mbox-image" style="padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{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-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
}}
}}

Revision as of 18:42, 3 November 2017