Examples/Parameter: category (example 2)

Revision as of 05:55, 6 April 2022 by 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> {{#...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

{{#dpl:
|category=Countries in Europe¦Countries in North America
|category=*Part of NATO
}}

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

{{#dpl: |category=Countries in Europe¦Countries in North America |category=*Part of NATO }}