Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : {{subst:{{ {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} {{CURRENTTIME}} }} (UTC)}}</div></includeonly>
<includeonly><div style="float: right; margin: 3px; padding: 3px; border: 1px solid #6EBE46; background: #FFE; font-size: x-small">Last update : {{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTTIME}} (UTC)</div></includeonly>
<noinclude>
<noinclude>
This presents when the document is updated.
This presents when the document is updated.

Revision as of 07:05, 17 January 2008

CURRENTYEAR}}-11-27 16:10 (UTC)</includeonly>

This presents when the document is updated.

Usage

Simply, insert {{LastUpdate}} at the top of document.

Example

Last update : {{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY}} {{subst:CURRENTTIME}} (UTC)