Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Essay lastupdate: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision 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">
'''Last updated'''
'''Last updated'''
<!-- minoredits = exclude means that minor edits should not change the order of the page in the list, but it does somehow -->
<!-- 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 -->
<!-- titlemaxlength = 60-3 characters to account for ellipses -->
{{#dpl:
<dpl>
|category = Essays
category = Essays
|count = 7
count = 7
|ordermethod = lastedit
ordermethod = lastedit
|order = descending
minoredits = exclude
|mode = userformat
order = descending
|minoredits = exclude
mode = userformat
|addeditdate=true
addeditdate=true
|titlemaxlength=57
titlemaxlength=57
|userdateformat = Y-m-d
userdateformat = Y-m-d
|format = ,\n* <span class="essay-small">%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>
</div>
</div>

Latest revision as of 09:21, 6 October 2023