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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (add category)
imported>FrozenPlum
(Formatting and note)
 
(2 intermediate revisions by the same user not shown)
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 {{tt|[min],[max]}}. Either parameter is optional, but their position must be held appropriately using a <code>,</code> comma.


<pre>
<pre>

Latest revision as of 07:09, 1 April 2023

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]. Either parameter is optional, but their position must be held appropriately using a , comma.

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

Result

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