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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{noedit}}</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 selects articles in Category:Dessert examples and orders them by title, sorted in ''descending'' order. <pre> {{#dpl: |category = Dessert examples |ordermethod = title |order = descending...")
 
imported>FrozenPlum
m (FrozenPlum moved page Controlling output order/Parameter: order (example 1) to Examples/Parameter: order (example 1): Simplifying how things are structured)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
<pre>
<pre>
{{#dpl:
{{#dpl:
|category = Dessert examples
|category = Dessert examples
|ordermethod = title
|ordermethod = title
|order = descending
|order = descending
|count = 3
}}
}}
</pre>
</pre>
Line 19: Line 20:


{{#dpl:
{{#dpl:
|category = Dessert examples
|category = Dessert examples
|ordermethod = title
|ordermethod = title
|order = descending
|order = descending
|count = 3
}}
}}
<noinclude>
<noinclude>
Line 28: Line 30:
[[Category:Uses ordermethod parameter]]
[[Category:Uses ordermethod parameter]]
[[Category:Uses order parameter]]
[[Category:Uses order parameter]]
[[Category:Uses count parameter]]
</noinclude>
</noinclude>

Latest revision as of 00:54, 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 selects articles in Category:Dessert examples and orders them by title, sorted in descending order.

{{#dpl:
|category    = Dessert examples
|ordermethod = title
|order       = descending
|count       = 3
}}

Result

{{#dpl: |category = Dessert examples |ordermethod = title |order = descending |count = 3 }}