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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</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 will list from Category:Fruit examples, three random articles...")
 
imported>FrozenPlum
(Add note about refreshing/previewing to see randomness of result.)
Line 6: Line 6:
==Example==
==Example==


This will list from [[:Category:Fruit examples]], three random articles ordered by size.
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.


<pre>
<pre>

Revision as of 00:33, 1 August 2022

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 }}