Select by category-related criteria (examples): Difference between revisions

Content added Content deleted
m (Alianin moved page DPL:Example - Select by Category to Extension:DPL3/Example: Select by category without leaving a redirect: Changing namespaces.)
No edit summary
Line 1: Line 1:
{{DPL Manual|section=Examples|subsection=Select by Category}}
{{DPL manual|section=Examples|subsection=Select by category}}

== Basic example ==


==Basic example==
The following example:
The following example:


<pre><nowiki>{{#dpl:
<pre><nowiki>{{#dpl:
category=DPL
category=DPL3
}}</nowiki></pre>
}}</nowiki></pre>


Would produce all the articles in the DPL category.
Would produce all the articles in the DPL3 category.


{{#dpl:
{{#dpl:
category=DPL
category=DPL3
}}
}}


== Further examples of syntax ==
==Further examples of syntax==

To find all articles that feature two category names, such as all wooden chairs, an example would be:
To find all articles that feature two category names, such as all wooden chairs, an example would be: