Examples/Parameter: ordermethod (example 1)
< Examples
Example
This selects articles from Category:Fruit examples ordering them by the method of size. addpagesize
is set to true to also display the page size. 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 in the selected category are displayed.
{{#dpl: |category = Fruit examples |ordermethod = size |addpagesize = true |count = 3 }}
Result
{{#dpl: |category = Fruit examples |ordermethod = size |addpagesize = true |count = 3 }}