Template:Nmbox: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 2: Line 2:
<tr style="border-bottom: 1px #000 solid; background-color: lightblue; background-image: linear-gradient(to bottom, #eee 0%, lightblue 100%)">
<tr style="border-bottom: 1px #000 solid; background-color: lightblue; background-image: linear-gradient(to bottom, #eee 0%, lightblue 100%)">
{{#if:{{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; width:5%; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; width:5%; border-right: 1px solid #white;">{{{image|}}} {{{header|}}}</th>
| <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-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;padding: 0.25em 0.9em;">{{{text|}}}</td>
<td class="mbox-text" style="background: #E0FFFF;padding: 0.25em 0.9em;">{{{text|}}}</td>
</tr></table><noinclude>
</tr></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 17:28, 25 July 2014