Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (test)
m (test)
Line 1: Line 1:
<includeonly>
<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>
<!-- Start of "LastUpdate" template. This is recursive. --><span style="display:none;">{{subst:LastUpdate/main</includeonly><includeonly>}}</span><!-- End of the template --></includeonly><noinclude>
This presents when the document is updated.
This presents when the document is updated.


Line 6: Line 7:


== Example ==
== Example ==
<span style="display:none;">{{subst:LastUpdate|</span><div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : 2008-01-17 13:22 (UTC)</div><span style="display:none;">}}</span>
<span style="display:none;">{{subst:LastUpdate/main|</span><div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : 2008-01-17 13:36 (UTC)</div><span style="display:none;">}}</span>
</noinclude>
</noinclude>

Revision as of 13:36, 17 January 2008

This presents when the document is updated.

Usage

Simply, insert {{subst:LastUpdate}}.

Example

{{subst:LastUpdate/main|

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

}}