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.

Examples/Parameter: category (example 3): Difference between revisions

m
Adjust the text for this, for when it works
imported>FrozenPlum
(add category)
imported>FrozenPlum
m (Adjust the text for this, for when it works)
Line 7:
==Example==
 
This list will outputselect pages in [[:Category:Countries in Europe]] OR [[:Category:Countries in North America]], AND in [[:Category:Part of NATO]] or a direct subcategory or a second level subcategory of the latter. The list will be ordered (OL{{tt|ol}} tag) andin organized intwo main items/headings, subcategories(matching willthe notcategories be used as a headingspecified). Under each item/heading you will see, a sublist of pages appears, ordered by their {{DPL|ordermethod}} value <code>ordermethod=category,''pagetouched</code>, for the category used as the heading''.
 
<pre>
<{{#dpl>:
|category=+Countries in Europe¦Countries in North America
|headingmode=ordered
|ordermethod=category,pagetouched
|noresultsheader=\n''no result returned''
}}
</dpl>
</pre>
 
==Result==
<dpl>
category=+Countries in Europe¦Countries in North America
headingmode=ordered
ordermethod=category,pagetouched
noresultsheader=\n''no result returned''
</dpl>
{{tempnote}}
<!-- at current, the opposite of what is stated (using - instead of +) seems to hold true and give results stated, perhaps either the description of how this is supposed to work is unclear or its example may need to be rewritten for clarity. -->
 
</{{#dpl>:
<noinclude>
|category=+Countries in Europe¦Countries in North America
|headingmode=ordered
|ordermethod=category,pagetouched
|noresultsheader=\n''no result returned''
}}
{{tempnote}}<noinclude>
[[Category:Select by category-related criteria]]
[[Category:Uses category parameter]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.