Examples/Parameter: noresultsheader (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== '''EXAMPLE TEXT HERE''' <pre> A) {{#dpl: |category=notArealCategory |n...") |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: noresultsheader (example 1) to Examples/Parameter: noresultsheader (example 1): Simplifying how things are structured) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6:
==Example==
The first example selects articles from a nonexistent category, to cause the <code>noresultsheader</code> output to display (for example purposes), the second uses a non-breaking space <code>&nbsp;</code> to output no result, and the third uses <code>\n</code> to display output no result.
<pre>
Line 18:
{{#dpl:
|noresultsheader=
|category=notArealCategory
}}
C)
{{#dpl:
|noresultsheader=\n
|category=notArealCategory
}}
Line 32 ⟶ 38:
{{#dpl:
|noresultsheader=
|category=notArealCategory
}}
C)
{{#dpl:
|noresultsheader=\n
|category=notArealCategory
}}
<noinclude>
[[Category:
[[Category:Uses category parameter]]
[[Category:Uses noresultsheader parameter]]
|
Latest revision as of 01:15, 1 April 2023
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 }}