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:LastUpdate/sub}}|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : {{<includeonly>subst:CURRENTYEAR}}-{{subst:</includeonly><includeonly>CURRENTMONTH}}-{{subst:</includeonly><includeonly>CURRENTDAY}} {{subst:</includeonly><includeonly>CURRENTTIME}} (UTC)</div>}}</includeonly><noinclude>
<includeonly>{{</includeonly><includeonly>subst:LastUpdate/sub}}|<div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : {{<includeonly>subst:CURRENTYEAR}}-{{subst:</includeonly><includeonly>CURRENTMONTH}}-{{subst:</includeonly><includeonly>CURRENTDAY}} {{subst:</includeonly><includeonly>CURRENTTIME}} (UTC)</div>}}</includeonly><noinclude>

This presents when the document is updated.
This presents when the document is updated.

== Usage ==
== Usage ==
<!--
Simply, insert <nowiki>{{subst:LastUpdate}}</nowiki>.
Simply, insert <nowiki>{{subst:LastUpdate}}</nowiki>.

-->
== 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:15(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:16 (UTC)</div>}}
</noinclude>
</noinclude>

Revision as of 13:16, 17 January 2008

This presents when the document is updated.

Usage

Simply, insert {{subst:LastUpdate}}.

Example

{{subst:LastUpdate|

Last update : 2008-01-17 13:16 (UTC)

}}