Examples/Parameter: ordermethod (example 1): Difference between revisions
< Examples
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (FrozenPlum moved page Controlling output order/Parameter: ordermethod (example 1) to Examples/Parameter: ordermethod (example 1): Simplifying how things are structured) |
||
(No difference)
|
Latest revision as of 00:54, 1 April 2023
Example
This selects articles from Category:Fruit examples ordering them by the method of size. addpagesize
is set to true to display the page size after the article name. Since order
is not set, the default sort order of ascending is applied. The count
is limited to three, so only the three smallest articles are displayed.
{{#dpl: |category = Fruit examples |ordermethod = size |addpagesize = true |count = 3 }}
Result
{{#dpl: |category = Fruit examples |ordermethod = size |addpagesize = true |count = 3 }}