Template:Nmbox: Difference between revisions

From BMG Wiki
Jump to navigation Jump to search
wm>Pcoombe (WMF)
No edit summary
 
robloxscpwiki>WikiAdmin
m (1 revision imported)
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #a2a9b1; border-collapse:collapse; clear:both; font-size:85%; margin:0.25em 0;">
<templatestyles src="Template:Nmbox/styles.css" />
<tr style="background: #eaecf0">
<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="padding: 4px 8px; border-right: 1px solid #a2a9b1;">{{{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: #ffffff; padding: 4px 8px;">{{{text|}}}</td>
{{documentation}}
</tr></table>
</noinclude>

Revision as of 12:41, 14 November 2022