Difference between revisions of "Template:Nmbox"

From DW Wiki
Jump to navigation Jump to search
(Created page with "<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0;"> <tr style="background: #EEF3E2"> {{#if:{{{image|}...")
 
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0;">
+
<templatestyles src="Template:Nmbox/styles.css" />
<tr style="background: #EEF3E2">
+
<div class="nmbox noprint {{dir|{{pagelang}}|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 02:25, 6 May 2021

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.