Examples/Parameter: randomcount (example 1)

From DynamicPageList3 Manual
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 from Category:Fruit examples and displaying at random, one article from a pool (or subset) of seven articles. Each time the page is previewed or refreshed, the results may randomly change.

{{#dpl:
|category=Fruit examples
|randomcount=1
|count=7
}}

Result

{{#dpl: |category=Fruit examples |randomcount=1 |count=7 }}