Examples/Parameter: addpagetoucheddate (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:Dessert...")
 
imported>FrozenPlum
 
(3 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:Dessert examples]], prepending each result with the date of last change (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:Dessert examples]], prepending each result with the date of last change.


<pre>
<pre>
{{#dpl:
{{#dpl:
|category = Fruit examples
|category = Dessert examples
|ordermethod = pagetouched
|ordermethod = pagetouched
|addpagetoucheddate = true
|addpagetoucheddate = true
Line 20: Line 20:


{{#dpl:
{{#dpl:
|category = Fruit examples
|category = Dessert examples
|ordermethod = pagetouched
|ordermethod = pagetouched
|addpagetoucheddate = true
|addpagetoucheddate = true
Line 27: Line 27:


<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:15, 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:Dessert examples, prepending each result with the date of last change.

{{#dpl:
|category           = Dessert examples
|ordermethod        = pagetouched
|addpagetoucheddate = true
|count              = 3
}}

Result

{{#dpl: |category = Dessert examples |ordermethod = pagetouched |addpagetoucheddate = true |count = 3 }}