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

From DynamicPageList3 Manual
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 list will output pages that are in Category:Number examples t...")
 
imported>FrozenPlum
m (FrozenPlum moved page Criteria for page selection/Parameter: notlinksto (example 1) to Examples/Parameter: notlinksto (example 1): Simplifying how things are structured)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
==Example==
==Example==


This list will output pages that are in [[:Category:Number examples]] that do not have a link pointing to a page with title [[Two]] or [[Five]], in the Main namespace.
This will list pages in [[:Category:Number examples]] that do not have a link pointing to a page with title [[Two]] or [[Five]], in the ''Main'' namespace and limited to a count of five.


<pre>
<pre>
Line 12: Line 12:
|category = Number examples
|category = Number examples
|notlinksto = Two¦Five
|notlinksto = Two¦Five
|count = 5
}}
}}
</pre>
</pre>
Line 20: Line 21:
|category = Number examples
|category = Number examples
|notlinksto = Two¦Five
|notlinksto = Two¦Five
|count = 5
}}
}}


<noinclude>
<noinclude>
[[Category:Select by link-related criteria‎]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]
[[Category:Uses notlinksto parameter]]
[[Category:Uses notlinksto parameter]]
[[Category:Uses count parameter]]
</noinclude>
</noinclude>

Latest revision as of 22:42, 31 March 2023

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 pages in Category:Number examples that do not have a link pointing to a page with title Two or Five, in the Main namespace and limited to a count of five.

{{#dpl:
|category   = Number examples
|notlinksto = Two¦Five
|count      = 5
}}

Result

{{#dpl: |category = Number examples |notlinksto = Two¦Five |count = 5 }}