Jump to content

Examples/Parameter: noresultsheader (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]

The first example lists pages from a nonexistent category, to cause the noresultsheader output to display (for example purposes), the second uses a non-breaking space   to output no result, and the third uses \n to display output no result.

Code
A)
{{#dpl:
|category        = notArealCategory
|noresultsheader = <i>No results found</i>
}}

B)
{{#dpl:
|category        = notArealCategory
|noresultsheader = &nbsp;
}}

C)
{{#dpl:
|category        = notArealCategory
|noresultsheader = \n
}}
Result

A) No results found

B)  

C)

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