Jump to content

Examples/Parameter: categoriesminmax (example 2)

From DynamicPageList3 Manual
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

[edit source]

This lists pages in the category Countries in Europe that are only assigned to 2 other categories, for a maximum of 3 categories. The first categoriesminmax argument for minimum (or min) is left blank, meaning no minimum applies, and just the last (comma separated) argument specifying the maximum is applied. Alternatively, both a min and a max value could be specified if desired.

Code
{{#dpl:
|category         = Countries in Europe
|categoriesminmax = ,3
}}
Result
Cookies help us deliver our services. By using our services, you agree to our use of cookies.