Jump to content

Examples/Parameter: resultsheader (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 in category Dessert examples and uses mode=userformat for complete control over the output. As listseparators or format are not set, nothing is displayed except the resultsheader content specified. The %PAGES% variable fetches and displays the number of results found for the query, despite none being listed.

Code
{{#dpl:
|category      = Dessert examples
|mode          = userformat
|resultsheader = <i>There are %PAGES% pages on desserts.</i>
}}
Result

There are 3 pages on desserts.

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