Examples/Parameter: notcategory (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
 
(2 intermediate revisions by the same user not shown)
Line 26: Line 26:


<noinclude>
<noinclude>
[[Category:Select by category-related criteria‎]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]
[[Category:Uses notcategory parameter]]
[[Category:Uses notcategory parameter]]

Latest revision as of 22:37, 31 March 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 list will output pages that belong to Category:Countries in Europe‎ but do not belong to either Category:NATO membership debates‎ or other example categories, listed in separate notcategory statements.

<dpl>
 category=Countries in Europe‎
 notcategory=NATO membership debates‎
 notcategory=Another example category
</dpl>

Result

<dpl>

category=Countries in Europe
notcategory=NATO membership debates‎
notcategory=Another example category

</dpl>