Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (test)
m (test)
Line 1: Line 1:
<includeonly>{{</includeonly><includeonly>subst:</includeonly>LastUpdate/sub}}|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : </includeonly>{{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTTIME}}<includeonly> (UTC)</div>}}<span sytle="display:none;">}}</span>
<includeonly>{{</includeonly><includeonly>subst:</includeonly>LastUpdate/sub}}|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : </includeonly>{{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTTIME}}<includeonly> (UTC)</div>}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 8: Line 8:
-->
-->
== Example ==
== Example ==
{{subst:LastUpdate|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : 2008-01-17 13:00 (UTC)</div>}} }}
{{subst:LastUpdate|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : 2008-01-17 13:02 (UTC)</div>}}<span sytle="display:none;">}}</span>

}}







Revision as of 13:02, 17 January 2008

LastUpdate/sub}}|

Last update : </includeonly>2024-11-25 00:32

This presents when the document is updated.

Usage

Example

{{subst:LastUpdate|
Last update : 2008-01-17 13:02 (UTC)
}}}}