Difference between revisions of "Template:Nmbox"

From Telearn Thesaurus
Jump to: navigation, search
(Created page with "<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;"> <tr style="background: #DAEBFE"> {{#if:{{{image|}}}...")
 
m
 
(2 intermediate revisions by the same 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.25em 0;">
 
<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<tr style="background: #DAEBFE">
+
<tr style="background: #DAE5F7">
 
{{#if:{{{image|}}}{{{header|}}}
 
{{#if:{{{image|}}}{{{header|}}}
 
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
 
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{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: #F6F6F6;"> {{{text|}}} </td>
+
<td class="mbox-text" style="background: #F6F6F6; padding: 4px 1em;"> {{{text|}}} </td>
 
</tr></table>
 
</tr></table>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:19, 23 May 2011

Template:Documentation