Examples/Parameter: category (example 2): Difference between revisions
< Examples
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 (FrozenPlum moved page Criteria for page selection/Parameter: category (example 2) to Examples/Parameter: category (example 2): Simplifying how things are structured) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
--> |
--> |
||
==Example== |
==Example== |
||
⚫ | |||
<pre> |
<pre> |
||
{{#dpl: |
{{#dpl: |
||
|category=Countries in Europe¦Countries in North America |
|category=Countries in Europe¦Countries in North America |
||
|category=*Part of NATO |
|category=*Part of NATO |
||
|count = 4 |
|||
}} |
}} |
||
</pre> |
</pre> |
||
⚫ | |||
==Result== |
==Result== |
||
Line 19: | Line 20: | ||
|category=Countries in Europe¦Countries in North America |
|category=Countries in Europe¦Countries in North America |
||
|category=*Part of NATO |
|category=*Part of NATO |
||
|count = 4 |
|||
}} |
}} |
||
<noinclude> |
|||
[[Category:Select by category-related criteria]] |
|||
[[Category:Uses category parameter]] |
|||
[[Category:Uses count parameter]] |
|||
</noinclude> |
Latest revision as of 22:37, 31 March 2023
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 |count = 4 }}
Result
{{#dpl: |category=Countries in Europe¦Countries in North America |category=*Part of NATO |count = 4 }}