Changes

Jump to navigation Jump to search
233 bytes added ,  19:40, 5 August 2012
allow centering
Line 1: Line 1: −
{| class="messagebox" style="max-width: 55em; background-color: #F5F5F5; border: 1px solid #666666;" align=left
+
{| class="messagebox" style="max-width: 55em; background-color: #F5F5F5; border: 1px solid #666666; {{#if: {{{center|}}} |margin: 1em auto 1em auto;|}}"
 
|- align=center
 
|- align=center
 
| style="padding: 0.5em; vertical-align: top;" | [[File:Warning.png|none|link=]]
 
| style="padding: 0.5em; vertical-align: top;" | [[File:Warning.png|none|link=]]
Line 15: Line 15:  
   
 
   
 
{{Dated|Optional comment.}}
 
{{Dated|Optional comment.}}
 +
 +
 +
To center the message box on the page, enter any text after {{Code||center=}} as below:
 +
 +
{{Code|<nowiki>{{Dated|center=.|Optional comment.}}</nowiki>}}
 +
 +
{{Dated|center=.|Optional comment.}}
 
</noinclude>
 
</noinclude>

Navigation menu