Examples/Parameter: resultsheader (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum (fix my wrong category) |
||
Line 23: | Line 23: | ||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category: |
[[Category:Defining header and footer for the result]] |
||
[[Category:Uses mode parameter]] |
[[Category:Uses mode parameter]] |
||
[[Category:Uses resultsheader parameter]] |
[[Category:Uses resultsheader parameter]] |
Revision as of 04:40, 2 October 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. }}