Template:Nmbox: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
metatemplate for navigation boxes
 
tweak
Line 2: Line 2:
<tr style="background: #EEF3E2">
<tr style="background: #EEF3E2">
{{#if:{{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa; width: 59px">{{{image}}} {{{header|}}}</th>
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em 0 0.5em; 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 style="padding: 1px 1em 0; background: #F6F9ED;">{{{text|}}}</td>
<td class="mbox-text" style="background: #F6F9ED;">{{{text|}}}</td>
</tr></table><noinclude>
</tr></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 10:46, 1 June 2010

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
ViewEditHistory
This template is not yet documented. Please create documentation here: Template:Nmbox/doc