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>}} }}
</includeonly>
<noinclude>
<noinclude>
This presents when the document is updated.
This presents when the document is updated.
Line 7: Line 8:
-->
-->
== Example ==
== Example ==
<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : 2008-01-17 12:56 (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 12:58 (UTC)</div>}} }}






Revision as of 12:58, 17 January 2008

LastUpdate/sub}}|

Last update : </includeonly>2024-11-24 21:03

This presents when the document is updated.

Usage

Example

{{subst:LastUpdate|
Last update : 2008-01-17 12:58 (UTC)
}} }}