Examples/Parameter: headingmode (example 1): Difference between revisions
< Examples
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= |
|category=Country examples |
||
|ordermethod=category,title |
|ordermethod=category,title |
||
|headingmode=ordered |
|headingmode=ordered |
||
Line 20: | Line 20: | ||
{{#dpl: |
{{#dpl: |
||
|category= |
|category=Country examples |
||
|ordermethod=category,title |
|ordermethod=category,title |
||
|headingmode=ordered |
|headingmode=ordered |
Revision as of 08:56, 23 April 2022
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 }}