Difference between revisions of "Template:MessageBox"

From stoney cloud
Jump to: navigation, search
m (Add overflow option: fixes overflow problems with TOCs and infoboxes)
m (should keep single-line messagebox instances from having that ugly padding gap at the bottom)
Line 1: Line 1:
<div class="gw-msgbox" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}; overflow: auto"><div class="gw-msgbox-title" style="background-color: {{{color|#333}}}; color: {{{titlecol|white}}}">{{{1}}}</div><div class="gw-msgbox-content">{{{2}}}</div></div><noinclude>
+
<div class="gw-msgbox" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}; overflow: auto"><div class="gw-msgbox-title" style="margin: -3px 3px -3px -3px; background-color: {{{color|#333}}}; color: {{{titlecol|white}}}">{{{1}}}</div><div class="gw-msgbox-content">{{{2}}}</div></div><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:53, 24 August 2013

{{{1}}}
{{{2}}}
[create Documentation
Note
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.