Template:Nmbox: Difference between revisions
Content deleted Content added
more neutral colouring (gray & white) to fit in better with pages |
GVarnum-WMF (talk | contribs) No edit summary Tags: Manual revert 2017 source edit |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Nmbox/styles.css" /> |
|||
<table class="nmbox" style="border:1px solid #aaaaaa; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;"> |
|||
<div class="nmbox noprint">{{#if: {{{image|}}}{{{header|}}} |
|||
<tr style="background: #d8d8d8"> |
|||
{{#if:{{{image|}}}{{{header|}}} |
|<div class="nmbox-header">{{#if: {{{image|}}}|<div class="nmbox-image">{{{image|}}}</div>}}{{{header|}}} |
||
</div>}} |
|||
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th> |
|||
{{#if:{{{text|}}}|<div class="nmbox-text">{{{text|}}}</div>}} |
|||
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> |
|||
</div><noinclude>{{documentation}}</noinclude> |
|||
}} |
|||
<td class="mbox-text" style="background: #ffffff; padding: 4px 1em;">{{{text|}}}</td> |
|||
</tr></table> |
Latest revision as of 21:36, 26 March 2024
This template uses TemplateStyles: |
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |