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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (FrozenPlum moved page Criteria for page selection/Parameter: uses (example 1) to Examples/Parameter: uses (example 1): Simplifying how things are structured)
imported>FrozenPlum
(Formatting and link)
 
Line 1: Line 1:
<noinclude>{{noedit}}</noinclude><!--
<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
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,
the example working (at the bottom of the page). If you save this page,
Line 6: Line 6:
==Example==
==Example==


This list will output pages that use a template called ''Fruit-Infobox'', limited to three results using {{DPL|count}}.
This list will output pages that use a template called [[Template:Fruit-Infobox|Fruit-Infobox]], limited to three results using <code>{{DPL|count}}</code>.


<pre>
<pre>

Latest revision as of 07:35, 1 April 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 list will output pages that use a template called Fruit-Infobox, limited to three results using count.

{{#dpl:
|uses = Template:Fruit-Infobox
|count = 3
}}

Result

{{#dpl: |uses = Template:Fruit-Infobox |count = 3 }}