Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (test)
m (test)
Line 1: Line 1:
<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>}}<span sytle="display:none;">}}</span>
</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 12:58 (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:00 (UTC)</div>}} }}

}}





Revision as of 13:00, 17 January 2008

LastUpdate/sub}}|

Last update : </includeonly>2024-11-24 22:57

This presents when the document is updated.

Usage

Example

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