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 (FrozenPlum moved page Controlling output volume/Parameter: addeditdate (example 1) to Examples/Parameter: addeditdate (example 1): Simplifying how things are structured)
 
(2 intermediate revisions by the same user not shown)
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>
Line 26: Line 26:
}}
}}
<noinclude>
<noinclude>
[[Category:Controlling output volume (examples)‎]]
[[Category:Adding meta data to the output‎]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]
[[Category:Uses ordermethod parameter]]
[[Category:Uses ordermethod parameter]]

Latest revision as of 01:14, 1 April 2023

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 }}