Template:LastUpdate: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (debug & update.)
m (category)
Line 7: Line 7:
=== Example ===
=== Example ===
This is float-right like this;
This is float-right like this;
<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:58 (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 14:03 (UTC)</div><span style="display:none;">}}</span>
</noinclude>


== Note ==
== Note ==
In fact, this is only a wapper. If you want to modify this, please check [[:Template:LastUpdate/main]] and [[:Template:LastUpdate/sub]].
In fact, this is only a wapper. If you want to modify this, please check [[:Template:LastUpdate/main]] and [[:Template:LastUpdate/sub]].

[[Category:Template]]
</noinclude>

Revision as of 14:03, 17 January 2008

This presents when the document is updated. When a page is saved, the date and time is recorded.

Usage

If your page has not yet have this template, please insert {{subst:LastUpdate}} simply. It will be automatically converted into some HTML elements and broken-wikitext, when the page is first saved. They are actually functional stuff. This is recursive.

Example

This is float-right like this;

{{subst:LastUpdate/main|

Last update : 2008-01-17 14:03 (UTC)

}}

Note

In fact, this is only a wapper. If you want to modify this, please check Template:LastUpdate/main and Template:LastUpdate/sub.