Jump to content

Examples/Parameter: headingmode (example 1)

From DynamicPageList4 Manual
Revision as of 19:20, 6 September 2025 by FrozenPlum (talk | contribs) (Swapped to {DPL Code} template and cleaned up description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

[edit source]

This selects pages in category Country examples, with ordermethod set to specify sorting by category, title. Setting headingmode to ordered displays numbered category headings as output titles, with the results count restricted to 3'.

Code
{{#dpl:
|category    = Country examples
|ordermethod = category,title
|headingmode = ordered
|count       = 3
}}
Result
  1. Countries in Africa
  2. Countries in Europe
Cookies help us deliver our services. By using our services, you agree to our use of cookies.