Difference between revisions of "Template:PrettyRevisionTimestamp"
Jump to navigation
Jump to search
(nah, it's tenable) |
(use datetime) |
||
Line 1: | Line 1: | ||
<includeonly>'''{{#time: d M, Y| {{REVISIONTIMESTAMP:{{{1|}}}}}}}'''</includeonly><noinclude> | <includeonly>'''{{datetime|{{#time: d M, Y| {{REVISIONTIMESTAMP:{{{1|}}}}}}}}}'''</includeonly><noinclude> | ||
This template inserts the date on which an article was last edited. This has been used to communicate which of the lists in [[Projects]] haven't had an update in years. | This template inserts the date on which an article was last edited. This has been used to communicate which of the lists in [[Projects]] haven't had an update in years. | ||
Revision as of 15:24, 24 August 2024
This template inserts the date on which an article was last edited. This has been used to communicate which of the lists in Projects haven't had an update in years.
The template is called PrettyRevisionTimestamp because it simply pretty prints the date of the REVISIONTIMESTAMP
magic word.
![]() |
This template uses an "expensive parser function" (REVISIONTIMESTAMP with a different page as a parameter) but it isn't worse for rendering times than regular transclusions (in my testing.) Still, use it in moderation.
|
Usage
[[Manual projects]] was last updated: {{PrettyRevisionTimestamp|Manual projects}}
Manual projects was last updated: 31 October 2021