Examples/Parameter: addeditdate (example 1): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This list will output a list of pages belonging to :Category:Fruit ex...")
 
imported>FrozenPlum
m (Remove the line in the example that was already repeated in the notes (didn't notice the imported content double-dipped until I had it halfway cleaned up and easier to spot))
Line 6: Line 6:
==Example==
==Example==


This list will output a list of pages belonging to [[:Category:Fruit examples]], prepending each result with the date of last revision (formatted according to your local MediaWiki date display preferences or the user's preferences if logged in).
This list will output a list of pages belonging to [[:Category:Fruit examples]], prepending each result with the date of last revision.


<pre>
<pre>

Revision as of 07:42, 17 April 2022

Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This list will output a list of pages belonging to Category:Fruit examples, prepending each result with the date of last revision.

{{#dpl:
|category    = Fruit examples
|ordermethod = lastedit
|addeditdate = true
|count       = 3
}}

Result

{{#dpl: |category = Fruit examples |ordermethod = lastedit |addeditdate = true |count = 3 }}