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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (Need to do a multi-category for this one instead)
imported>FrozenPlum
m (forgot to change the category XD)
Line 6: Line 6:
==Example==
==Example==


This will select articles in [[:Category:Fruit examples]], the categories are listed in sorted order and the titles are replaced by appropriate links. <code>headingmode</code> 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).
This will select articles in [[:Category:Country examples]], the categories are listed in sorted order and the titles are replaced by appropriate links. <code>headingmode</code> 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).


<pre>
<pre>

Revision as of 08:58, 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:Country 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 }}