Examples/Parameter: randomcount (example 1)

From DynamicPageList3 Manual
Revision as of 22:45, 31 March 2023 by imported>FrozenPlum (FrozenPlum moved page Criteria for page selection/Parameter: randomcount (example 1) to Examples/Parameter: randomcount (example 1): Simplifying how things are structured)
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 will list from Category:Fruit examples, three random articles ordered by size. Each time the page is previewed or refreshed, the results may randomly change.

{{#dpl:
|category=Fruit examples
|randomcount=3
|ordermethod=size
|count=7
}}

Result

{{#dpl: |category=Fruit examples |randomcount=3 |ordermethod=size |count=7 }}