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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (add category)
imported>FrozenPlum
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
==Example==
==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 {{DPL|count}} of three results.
This lists 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 <code>{{DPL|count}}</code> of three results.


<pre>
<pre>
Line 23: Line 23:
}}
}}
<noinclude>
<noinclude>
[[Category:Uses ordermethod parameter]]
[[Category:Select by category-related criteria‎]]
[[Category:Uses categorymatch parameter]]
[[Category:Uses categorymatch parameter]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]

Latest revision as of 06:58, 1 April 2023

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