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><span style="display:none;">{{</includeonly><includeonly>subst:LastUpdate/sub}}|</span><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><span style="display:none;">}}</span></includeonly><noinclude>
This presents when the document is updated.
This presents when the document is updated.


Line 6: Line 6:


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

Revision as of 13:18, 17 January 2008

This presents when the document is updated.

Usage

Simply, insert {{subst:LastUpdate}}.

Example

{{subst:LastUpdate|

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

}}