Examples/Parameter: resultsfooter (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 displays th...") |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: resultsfooter (example 1) to Examples/Parameter: resultsfooter (example 1): Simplifying how things are structured) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|resultsfooter=\nThere are %PAGES% pages on dessert.\n |
|resultsfooter=\nThere are %PAGES% pages on dessert.\n |
||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category: |
[[Category:Defining header and footer for the result]] |
||
[[Category:Uses category parameter]] |
[[Category:Uses category parameter]] |
||
[[Category:Uses resultsfooter parameter]] |
[[Category:Uses resultsfooter parameter]] |
Latest revision as of 01:16, 1 April 2023
Example
This selects articles in Category:Dessert examples and displays them with default unordered list (bullet) formatting. The resultsfooter
value sets the text for a message about the number of existing articles.
{{#dpl: |category=Dessert examples |resultsfooter=\nThere are %PAGES% pages on dessert.\n }}
Result
{{#dpl: |category=Dessert examples |resultsfooter=\nThere are %PAGES% pages on dessert.\n }}