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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (add category)
imported>FrozenPlum
m (Add a reminder to users, that there's a built-in way to remember how to use this param (just param name) without necessarily having to re-read the manual section.)
Line 7: Line 7:
==Example==
==Example==


The list will only contain articles which belong to [[:Category:Countries in Europe]] and at least three other categories (for a total of four).
The list will only contain articles which belong to [[:Category:Countries in Europe]] and at least three other categories, for a total of four '''minimum''' as set in the ''min'' position of <code>categoriesminmax</code> argument syntax. Note the parameter name's ending, "minmax", provides a reminder of the order in which its arguments must be specified <code>''[min]'',''[max]''</code>, when desired.


<pre>
<pre>

Revision as of 00:40, 22 April 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

The list will only contain articles which belong to Category:Countries in Europe and at least three other categories, for a total of four minimum as set in the min position of categoriesminmax argument syntax. Note the parameter name's ending, "minmax", provides a reminder of the order in which its arguments must be specified [min],[max], when desired.

{{#dpl:
|category=Countries in Europe
|categoriesminmax=4
}}

Result

{{#dpl: |category=Countries in Europe |categoriesminmax=4 }}