Difference between revisions of "Template:Dated"
Jump to navigation
Jump to search
m |
(allow centering) |
||
Line 1: | Line 1: | ||
− | {| class="messagebox" style="max-width: 55em; background-color: #F5F5F5; border: 1px solid #666666;" | + | {| 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> |
Revision as of 19:40, 5 August 2012
Usage
{{Dated|Optional comment.}}
To center the message box on the page, enter any text after as below:
{{Dated|center=.|Optional comment.}}