Anonymous

Template:Nmbox: Difference between revisions

From Elwiki
Undo revision 758788 by Ritsu (talk)
mNo edit summary
(Undo revision 758788 by Ritsu (talk))
Tag: Undo
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="nmbox" style="border: 2px solid {{ColorSel|bannerUI|border}}; border-radius: 5px; border-collapse:collapse; width:100%; clear:both; font-size:85%; margin: 0.5em 0;">
<table class="nmbox" style="{{{boxstyle|}}}"><tr><th
<tr style="border-bottom: 1px #000 solid; background-color: lightblue; background-image: linear-gradient(to bottom, #eee 0%, lightblue 100%)">
  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:5%; border-right: 1px solid #white;">{{{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-color: #E0FFFF;background-image: linear-gradient(to bottom, #eee 0%, #E0FFFF 100%);padding: 0.25em 0.9em;">{{{text|}}}</td>
</tr></table><noinclude>
{{documentation}}
</noinclude>
</noinclude>