Template:Nmbox: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
dir
m restyle
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #AAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0">
<table class="nmbox" style="border: 1px solid #a2a9b1; border-collapse: collapse; clear:both; margin: .5em 0;">
<tr style="background:#EEF3E2">
<tr style="background: #eaecf0;">
{{#if:{{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="white-space:nowrap; padding:4px 1em; border-{{dir|{{pagelang}}|left|right}}:1px solid #aaa">{{{image|}}} {{{header|}}}</th>
| <th class="mbox-image" style="white-space: nowrap; padding: .25em 1em;">{{{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. -->
}}
}}
<td class="mbox-text" style="background:#F6F9ED">{{{text|}}}</td>
<td class="mbox-text" style="background: #f8f9fa">{{{text|}}}</td>
</tr></table><noinclude>
</tr></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 15:20, 31 May 2019

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
ViewEditHistory
This template is not yet documented. Please create documentation here: Template:Nmbox/doc