Template:Essay lastupdate: Difference between revisions

Template page
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- gets a list of 5 last essays to have been updated, to use in new blog homepage -->
<!-- gets a list of 5 last essays to have been updated, to use in new blog homepage -->
<templatestyles src="Essay_lastupdate/style.css" />
<templatestyles src="Essay_lastupdate/style.css" />
<div class="lastupdate-container">
<div class="lastupdate-container">
<p>'''Last Updated'''</p>
'''Last updated'''
<!-- minoredits = exclude means that minor edits should not change the order of the page in the list, but it does somehow -->
<!-- titlemaxlength = 60-3 characters to account for ellipses -->
<dpl>
<dpl>
namespace = Essay
category = Essays
count = 7
ordermethod = lastedit
ordermethod = lastedit
minoredits = exclude
order = descending
order = descending
mode = userformat
mode = userformat
count = 10
listseparators = \n
addeditdate=true
addeditdate=true
titlemaxlength=57
userdateformat = Y-m-d
userdateformat = Y-m-d
format = ,\n* <span class="lastupdate-date">%DATE%</span>, <span class="lastupdate-title">[[%PAGE%|%TITLE%]]</span>,
format = ,\n* <span class="essay-small">%DATE%</span>, <span class="lastupdate-title">[[%PAGE%|%TITLE%]]</span>,
</dpl>
</dpl>
</div>
</div>

Latest revision as of 09:21, 6 October 2023