Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (test)
m (test)
Line 1: Line 1:
<noinclude><div style="display:none;"></noinclude>
<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><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></div></noinclude>
<noinclude>
<noinclude>
This presents when the document is updated.
This presents when the document is updated.
Line 8: Line 10:
-->
-->
== 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:02 (UTC)</div>}}<span sytle="display:none;">}}</span>
{{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:03 (UTC)</div>}}

<span sytle="display:none;">}}</span>





Revision as of 13:03, 17 January 2008

LastUpdate/sub}}|
Last update : </includeonly>2024-11-25 00:25

This presents when the document is updated.

Usage

Example

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

}}