Template:Last updated/doc: Difference between revisions
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. | 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
This is a documentation subpage for Template:Last updated. It contains usage information, categories and other content that is not part of the original template page. |
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
:
{{Last updated|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.:
{{Last updated|format=yes}}
renders as:
- Last updated: 2024-11-12