Jump to content

Examples/Parameter: titlelt (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 selects page titles to the left of (titlelt), or before, the Chocolate Cake article in category Dessert examples. The format statement formats the output into a plain page title link (with no list style), and the result count is limited to 1 to ensure only the one (previous) page from the category is returned.

Code
{{#dpl:
|titlelt  = Chocolate Cake
|category = Dessert examples
|format   = ,[[%PAGE%|%TITLE%]]
|count    = 1
}}
Result

Apple Pie

Cookies help us deliver our services. By using our services, you agree to our use of cookies.