User:FrozenPlum/Sandbox: Difference between revisions

→‎randomcount: new section
imported>FrozenPlum
(→‎format: new section)
imported>FrozenPlum
(→‎randomcount: new section)
 
Line 88:
|format = ,\n* [[%PAGE%]],,
|count = 3
}}
 
== randomcount ==
 
<!--
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 ordered by size. Each time the page is previewed or refreshed, the results may randomly change.
 
<pre>
{{#dpl:
|category=Fruit examples
|randomcount=3
|ordermethod=size
|count=7
}}
</pre>
 
==Result==
 
{{#dpl:
|category=Fruit examples
|randomcount=3
|ordermethod=size
|count=7
}}
Anonymous user