Examples/Parameter: randomcount (example 1)
Appearance
< Examples
Example
[edit source]This selects pages from category Category:Fruit examples and displays a randomcount of 1 pages from a pool (or subset) of several, limited to a count of 7. Setting allowcachedresults to false disables the cache so each time the page is previewed or refreshed, the result randomly changes.
- Code
{{#dpl:
|category = Fruit examples
|randomcount = 1
|count = 7
|allowcachedresults = false
}}
- Result