Examples/Parameter: noresultsheader (example 1)

From DynamicPageList3 Manual
Revision as of 05:11, 17 April 2022 by imported>FrozenPlum (Would be ideal to show all 3)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

The first example selects articles from a nonexistent category so the noresultsheader output is displayed, the second uses a non-breaking space   to output no result, and the third uses \n to display output no result.

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

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

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

Result

A) {{#dpl: |category=notArealCategory |noresultsheader=No results found }}

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

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