Template:Last updated

Revision as of 22:32, 12 November 2024 by Epyon (talk | contribs) (Created page with "{{main other|<!--If used in article space, output nothing -->|{{#ifeq:{{{dateonly|}}}|yes||'''Last updated: '''}}{{#ifeq:{{{format|}}}|yes|[<noinclude />[|}}{{REVISIONYEAR}}-{{#ifexpr:{{REVISIONMONTH}}<10|{{REVISIONMONTH}}|{{REVISIONMONTH}}}}-{{REVISIONDAY2}}{{#ifeq:{{{format|}}}|yes|]<noinclude />]|}}}}<noinclude>{{documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Last updated: 2024-11-12

Template documentation[view] [edit] [history] [purge]

Usage

This template outputs the latest revision date of the page that it is used on.

Principally intended for use on user pages, but can also be of some use on Wikipedia-namespace (policy, project, etc.) and portal pages.

To suppress the "Last updated:" text, use |dateonly=yes:

renders as:

  • 2024-11-12

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 |format=yes. Note that if the template is substituted, bots may remove this linking, per WP:MOSUNLINKDATES.:

renders as: