Template:Nmbox: Difference between revisions
Content deleted Content added
MusikBot II (talk | contribs) m Changed protection settings for "Template:Nmbox": High-risk template or module (more info) ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
LincolnBot (talk | contribs) Tag: Reverted |
||
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">{{#if: {{{image|}}}{{{header|}}} |
|||
{{#if:{{{image|}}}{{{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">{{{text|}}}</div>}} |
|||
}} |
|||
</div><noinclude>{{documentation}}</noinclude> |
|||
<td class="mbox-text" style="background: #ffffff; padding: 4px 8px;">{{{text|}}}</td> |
|||
</tr></table> |