Examples/Parameter: randomcount (example 1)

From DynamicPageList3 Manual
Revision as of 00:33, 1 August 2022 by imported>FrozenPlum (Add note about refreshing/previewing to see randomness of result.)
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 }}