Template:Last updated/doc: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Copy pasted from wikipedia. Might be useful for us later)
 
mNo edit summary
 
Line 4: Line 4:
This template outputs the latest revision date of the page that it is used on.  
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. <strong>''Not intended for use on articles; this template produces no output in article space.''</strong>
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 {{para|dateonly|yes}}:
To suppress the "Last updated:" text, use {{para|dateonly|yes}}:

Latest revision as of 22:34, 12 November 2024

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: