Examples/Parameter: headingmode (example 1): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Need to do a multi-category for this one instead)
Line 10: Line 10:
<pre>
<pre>
{{#dpl:
{{#dpl:
|category=Fruit examples
|category=Country examples
|ordermethod=category,title
|ordermethod=category,title
|headingmode=ordered
|headingmode=ordered
Line 20: Line 20:


{{#dpl:
{{#dpl:
|category=Fruit examples
|category=Country examples
|ordermethod=category,title
|ordermethod=category,title
|headingmode=ordered
|headingmode=ordered

Revision as of 08:56, 23 April 2022

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 will select articles in Category:Fruit examples, the categories are listed in sorted order and the titles are replaced by appropriate links. headingmode is set to ordered so the headings are numbered. The count is limited to three results (headings are not included in that limit, only the articles/pages themselves are).

{{#dpl:
|category=Country examples
|ordermethod=category,title
|headingmode=ordered
|count=3
}}

Result

{{#dpl: |category=Country examples |ordermethod=category,title |headingmode=ordered |count=3 }}