Examples/Parameter: mode (example 2)

Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This lists pages that titlematch the letters "Appl" anywhere in the name, with includesubpages set to false to exclude subpages. mode set to category outputs pages in category style (with capitals as headers, sorted by name regardless of category). The ordermethod parameter is required when mode=category is set (so DPL4 knows how to order the category listing style), and the titlewithoutnamespace value makes the first letter of the page title the category heading. Note that using title instead would cause use of the first letter of the namespace if it exists, and just the title if it doesn't (such as for pages in the Main namespace).

Code
{{#dpl:
|titlematch      = %Appl%
|includesubpages = false
|mode            = category
|ordermethod     = titlewithoutnamespace
|count           = 3
}}


Result