Examples/Parameter: noresultsheader (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum m (missed param wrapping in code tags) |
imported>FrozenPlum (fix my wrong category) |
||
Line 47: | Line 47: | ||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category: |
[[Category:Defining header and footer for the result]] |
||
[[Category:Uses category parameter]] |
[[Category:Uses category parameter]] |
||
[[Category:Uses noresultsheader parameter]] |
[[Category:Uses noresultsheader parameter]] |
Revision as of 04:41, 2 October 2022
Example
The first example selects articles 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.
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 }}