Examples/Parameter: headingmode (example 2)
Appearance
< Examples
Example
[edit source]This selects pages in the category Country examples, with ordermethod set to order by category, title. Setting headingmode to definition, puts category titles as headings in the output, in definition mode, which creates a description list using dl HTML tags. The mode set to ordered makes the pages listed below each header numbered, and the results are limited to a count of 3 (headings aren't included in that limit).
- Code
{{#dpl:
|category = Country examples
|ordermethod = category,title
|headingmode = definition
|mode = ordered
|count = 3
}}
- Result