Examples/Parameter: category (example 2)

From DynamicPageList3 Manual
Revision as of 06:03, 6 April 2022 by imported>FrozenPlum (I'll need the explanation to go before the code now, so as not to interfere with the view example and sandbox test link/buttons)
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
}}

Result

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