Examples/Parameter: category (example 2): 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== <pre> {{#...")
 
imported>FrozenPlum
m (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)
Line 6: Line 6:
-->
-->
==Example==
==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.
<pre>
<pre>
{{#dpl:
{{#dpl:
Line 12: Line 13:
}}
}}
</pre>
</pre>
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.


==Result==
==Result==

Revision as of 06:03, 6 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 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 }}