Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

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

m
Categorize as appropriately now that category exists
imported>FrozenPlum
m (FrozenPlum moved page Example: Select by category to Select by category (example) without leaving a redirect: will update corresponding pages also)
imported>FrozenPlum
m (Categorize as appropriately now that category exists)
Line 1:
==Category parameter==
{{DPL manual|section=Examples|subsection=Select by category}}
{{#lsth:Parameter:_category_(examples)|Selecting articles using 'category' parameter}}<!-- this content is included/transcluded from another page. [[See Parameter:_category_(examples)#Selecting articles using 'category' parameter]] -->
 
[[Category:Criteria for page selection (examples)]]
==Basic example==
The following example:
 
<pre>{{#dpl:
category=DPL3
}}</pre>
 
Would produce all the articles in the DPL3 category.
 
{{#dpl:
category=DPL3
}}
 
==Further examples of syntax==
To find all articles that feature two category names, such as all wooden chairs, an example would be:
 
<pre>
<DPL>
category = Chair
category = Wood
</DPL>
</pre>
 
Or to find all articles that contain one category name, and then another category name from two possible options, such as listing all the chairs that are made of wood as well as all the chairs that are made of metal, would be:
 
<pre>
<DPL>
category = Chair
category = Wood | Metal
</DPL>
</pre>
 
To sort results alphabetically:
 
<pre>
<DPL>
category = Chair
ordermethod = titlewithoutnamespace
order = ascending
</DPL>
</pre>
 
<!-- Extension prefix in other languages:
 
[[de:Erweiterung:{{subst:BASEPAGENAME}}]]
[[es:Extensión:{{subst:BASEPAGENAME}}]]
[[fr:Extension:{{subst:BASEPAGENAME}}]]
[[it:Estensione:{{subst:BASEPAGENAME}}]]
[[nl:Uitbreiding:{{subst:BASEPAGENAME}}]]
[[pl:Rozszerzenie:{{subst:BASEPAGENAME}}]]
[[pt:Extensão:{{subst:BASEPAGENAME}}]]
[[ru:Расширение:{{subst:BASEPAGENAME}}]]
[[zh:扩展:{{subst:BASEPAGENAME}}]]
-->
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.