Template:Nmbox

From Asian Canadian Wiki
(Difference between revisions)
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: #EEF3E2"> {{#if:{{{image|}}}...')
 
m (Protected "Template:Nmbox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(2 intermediate revisions by one 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;">
+
<p style="text-align: right">{{{text|}}}</p>
<tr style="background: #EEF3E2">
+
<noinclude>[[Category:Language templates]]</noinclude>
{{#if:{{{image|}}}{{{header|}}}
+
| <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-text" style="background: #F6F9ED;">{{{text|}}}</td>
+
</tr></table><
+

Latest revision as of 22:11, 18 November 2012

Personal tools
Namespaces

Variants
Actions
Participating
Categories
Toolbox