Examples/Parameter: ordermethod (example 1)
< Examples
(Redirected from Controlling output order/Parameter: ordermethod (example 1))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 }}