Examples/Parameter: category (example 3)
< Examples
Example[edit]
This will select 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 tag) in two main headings (matching the categories specified). Under each heading, a sublist of pages appears, ordered by category,pagetouched.
{{#dpl: |category=+Countries in Europe¦Countries in North America |headingmode=ordered |ordermethod=category,pagetouched |noresultsheader=\n''no result returned'' }}
Result[edit]
{{#dpl: |category=+Countries in Europe¦Countries in North America |headingmode=ordered |ordermethod=category,pagetouched |noresultsheader=\nno result returned }}