Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
− +
− +
− +
− +
− +
− }}+
− <td class="mbox-text" style="background: #f8f9fa">{{{text|}}}</td>
−
upgrade to tableless design
<table class="nmbox" style="border: 1px solid #a2a9b1; border-collapse: collapse; clear:both; margin: .5em 0;">
<templatestyles src="Template:Nmbox/styles.css" />
<tr style="background: #eaecf0;">
<div class="nmbox noprint">{{#if: {{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
|<div class="nmbox-header">{{#if: {{{image|}}}|<div class="nmbox-image mbox-image">{{{image|}}}</div>}}{{{header|}}}
| <th class="mbox-image" style="white-space: nowrap; padding: .25em 1em;">{{{image|}}} {{{header|}}}</th>
</div>}}
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
{{#if:{{{text|}}}|<div class="nmbox-text mbox-text">{{{text|}}}</div>}}
</div><noinclude>
</tr></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>