Examples/Parameter: resultsheader (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== This selects articles in Category:Dessert examples and uses <code>...") |
imported>FrozenPlum mNo edit summary |
||
Line 17: | Line 17: | ||
==Result== |
==Result== |
||
{{#dpl: |
{{#dpl: |
||
|category=Dessert examples |
|category=Dessert examples |
||
Line 23: | Line 22: | ||
|resultsheader=<i>There are %PAGES% pages on desserts.</i> |
|resultsheader=<i>There are %PAGES% pages on desserts.</i> |
||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category:Controlling output volume (examples)]] |
[[Category:Controlling output volume (examples)]] |
Revision as of 05:02, 17 April 2022
Example
This selects articles in Category:Dessert examples and uses mode=userformat
to get complete control over the output. listseparators=
is not set, so nothing will be displayed except the results header. The resultsheader
value sets the text for a message about the existing number of articles.
{{#dpl: |category=Dessert examples |mode=userformat |resultsheader=<i>There are %PAGES% pages on desserts.</i> }}
Result
{{#dpl: |category=Dessert examples |mode=userformat |resultsheader=There are %PAGES% pages on desserts. }}