Template:Nmbox: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
tweak
m 13 revisions imported: Trying again with Templates and Modules—Importing Mbox style Templates ({{Mbox}} and {{Ambox}})
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%;">
<templatestyles src="Template:Nmbox/styles.css" />
<tr style="background: #EEF3E2">
<div class="nmbox noprint {{dir|{{PAGELANGUAGE}}|mw-content-rtl|mw-content-ltr}}">{{#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: 4px 1em; border-right: 1px solid #aaaaaa;">{{{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>
<td class="mbox-text" style="background: #F6F9ED;">{{{text|}}}</td>
</tr></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 13:02, 17 October 2022

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