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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This preloads the example for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' page, and if you enter a "subject" it becomes the section heading. --> ==Example== This lis...")
 
imported>FrozenPlum
m (add category)
Line 23: Line 23:
}}
}}
<noinclude>
<noinclude>
[[Category:Uses ordermethod parameter]]
[[Category:Uses categorymatch parameter]]
[[Category:Uses categorymatch parameter]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]

Revision as of 03:15, 9 April 2022

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 }}