Examples/Parameter: category (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

This list will output pages that are in Category:Countries in Europe OR Category:Countries in North America, AND are in Category:Part of NATO or a direct subcategory or a second level subcategory of the latter.

{{#dpl:
|category=Countries in Europe¦Countries in North America
|category=*Part of NATO
|count = 4
}}

Result

{{#dpl: |category=Countries in Europe¦Countries in North America |category=*Part of NATO |count = 4 }}