Examples/Parameter: ordermethod (example 1)
Appearance
< Examples
Example
[edit source]This lists pages from category Fruit examples, sets the ordermethod to order by size. The addpagesize parameter set to true causes page size to display after the page name. Since order is not set, the default sort order of ascending is applied and results are limited to a count of 3, so only the smallest articles display.
- Code
{{#dpl:
|category = Fruit examples
|ordermethod = size
|addpagesize = true
|count = 3
}}
- Result