Template: Last updated
From TC11
Line 1: | Line 1: | ||
− | {{#ifeq:{{{dateonly|}}}|yes||'''Last updated: '''}}{{#ifeq:{{{format|}}}|yes|[<noinclude />| | + | {{#ifeq:{{{dateonly|}}}|yes||'''Last updated: '''}}{{#ifeq:{{{format|}}}|yes|[<noinclude />[|{{REVISIONYEAR}}-{{#ifexpr:{{REVISIONMONTH}}<10|0{{REVISIONMONTH}}|{{REVISIONMONTH}}}}-{{REVISIONDAY2}}{{#ifeq:{{{format|}}}|yes|]<noinclude />]|<noinclude> |
==Usage== | ==Usage== |
Revision as of 11:41, 14 April 2010
Last updated: {{#ifeq:|yes|[[|2010-004-14{{#ifeq:|yes|]]|
Usage
Principally intended for use on user pages, but can also be of some use on Wikipedia-namespace (policy, project, etc.) and portal pages. Not intended for use on articles.
To suppress the "Last update:" text, use Template:Para:
renders as:
- 2010-004-14
To link the date so that it autoformats (e.g. into International or US instead of Unix-style dates) for users with date preferences set, use Template:Para. Note that if the template is substituted, bots may remove this linking, per WP:MOSUNLINKDATES.:
renders as:
- Last updated: 2010-004-14