Difference between revisions of "Template:Dated"

From Sugar Labs
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;" 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>

Revision as of 20:40, 5 August 2012

Warning.png
The currency of this article or section may be limited by out-of-date information.
There may be relevant discussion on the talk page.


Usage

{{Dated|Optional comment.}}

Warning.png
The currency of this article or section may be limited by out-of-date information.
There may be relevant discussion on the talk page.

Optional comment.


To center the message box on the page, enter any text after as below:

{{Dated|center=.|Optional comment.}}

Warning.png
The currency of this article or section may be limited by out-of-date information.
There may be relevant discussion on the talk page.

Optional comment.