Difference between revisions of "Template:PrettyRevisionTimestamp"

From Archiveteam
Jump to navigation Jump to search
(create)
 
(I discovered there are bugs with the now that I've created the template)
Line 1: Line 1:
<includeonly>'''{{#time: d M, Y| {{REVISIONTIMESTAMP:{{{1|}}}}}}}'''</includeonly><noinclude>
<includeonly>'''{{#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.  
{{notice|Too buggy}}
<s>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 <code>REVISIONTIMESTAMP</code> [[mediawikiwiki:Magic_words#Technical_metadata|magic word]].
The template is called PrettyRevisionTimestamp because it simply pretty prints the date of the <code>REVISIONTIMESTAMP</code> [[mediawikiwiki:Magic_words#Technical_metadata|magic word]].
Line 11: Line 12:
[[Manual projects]] was last updated: {{PrettyRevisionTimestamp|Manual projects}}
[[Manual projects]] was last updated: {{PrettyRevisionTimestamp|Manual projects}}


{{PrettyRevisionTimestamp|Warrior projects}}</s>
</noinclude>
</noinclude>

Revision as of 14:02, 24 August 2024

Archiveteam1.png Too buggy

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.

Usage

[[Manual projects]] was last updated: {{PrettyRevisionTimestamp|Manual projects}}

Manual projects was last updated: 31 Oct, 2021

03 Oct, 2025