Examples/Parameter: notuses (example 1): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Refine the wording for consistency to the others, and count limit)
Line 6: Line 6:
==Example==
==Example==


This list will output pages in [[:Category:Fruit examples]] which do not use Template:Color.
This will list articles in [[:Category:Fruit examples]] which do not use Template:Color, limiting the results to a count of three.


<pre>
<pre>
{{#dpl:
{{#dpl:
|category = Fruit examples
|category = Fruit examples
|notuses = Template:Color
|notuses = Template:Color
|noresultsheader = \n ''No pages found''
|noresultsheader = \n ''No pages found''
|count = 3
}}
}}
</pre>
</pre>
Line 19: Line 20:


{{#dpl:
{{#dpl:
|category = Fruit examples
|category = Fruit examples
|notuses = Template:Color
|notuses = Template:Color
|noresultsheader = \n ''No pages found''
|noresultsheader = \n ''No pages found''
|count = 3
}}
}}


Line 29: Line 31:
[[Category:Uses notuses parameter]]
[[Category:Uses notuses parameter]]
[[Category:Uses noresultsheader parameter]]
[[Category:Uses noresultsheader parameter]]
[[Category:Uses count parameter]]
</noinclude>
</noinclude>

Revision as of 22:27, 22 April 2022

Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This will list articles in Category:Fruit examples which do not use Template:Color, limiting the results to a count of three.

{{#dpl:
|category        = Fruit examples
|notuses         = Template:Color
|noresultsheader = \n ''No pages found''
|count           = 3
}}

Result

{{#dpl: |category = Fruit examples |notuses = Template:Color |noresultsheader = \n No pages found |count = 3 }}