Jump to content

Examples/Parameter: ordermethod (example 1)

From DynamicPageList3 Manual
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.