Examples/Parameter: categorymatch (example 1)

From DynamicPageList3 Manual
Revision as of 22:37, 31 March 2023 by imported>FrozenPlum (FrozenPlum moved page Criteria for page selection/Parameter: categorymatch (example 1) to Examples/Parameter: categorymatch (example 1): Simplifying how things are structured)
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 belong to categories that end in "Europe" or "North America" like the pages that belong to Category:Countries in Europe, or Category:Countries in North America etc, limited to a count of three results.

{{#dpl:
|categorymatch=%Europe¦%North America
|count=3
}}

Result

{{#dpl: |categorymatch=%Europe¦%North America |count=3 }}