Template:Nmbox: Difference between revisions

Undo revision 758788 by Ritsu (talk)
No edit summary
(Undo revision 758788 by Ritsu (talk))
Tag: Undo
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; width:100%; clear:both; font-size:85%; margin: 0.5em 0;">
<table class="nmbox" style="{{{boxstyle|}}}"><tr><th
<tr style="background: #EEF3E2">
  style="{{{headerstyle|}}};">{{{image|}}}{{{header|}}}</th><td
{{#if:{{{image|}}}{{{header|}}}
  style="{{{textstyle|}}};">{{{text|}}}</td></tr></table><noinclude>
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; width:1%; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
{{Doc}}
| <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>
</tr></table><noinclude>
{{documentation}}
</noinclude>
</noinclude>