Examples/Parameter: category (example 3)

Example
This list will output pages in Category:Countries in Europe OR Category:Countries in North America, AND Category:Part of NATO or a direct subcategory or a second level subcategory of the latter. The list will be ordered (OL tag) and organized in main items/headings, subcategories will not be used as a heading). Under each item/heading you will see a sublist of pages ordered by their value , for the category used as the heading.

category=+Countries in Europe¦Countries in North America headingmode=ordered ordermethod=category,pagetouched noresultsheader=\nno result returned

Result
category=+Countries in Europe¦Countries in North America headingmode=ordered ordermethod=category,pagetouched noresultsheader=\nno result returned