Examples/Parameter: namespace (example 2): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (FrozenPlum moved page Criteria for page selection/Parameter: namespace (example 2) to Examples/Parameter: namespace (example 2): Simplifying how things are structured)
imported>FrozenPlum
m (Tiny formatting tweak for readability)
 
Line 6: Line 6:
==Example==
==Example==


This list will output articles that are in the namespace the current page is in—whatever it is, in this case blank (which is the Main namespace)—and that belong to [[:Category:Number examples]].
This lists articles that are in the namespace the current page is in in this case blank (which is the ''Main'' namespace) – and that belong to [[:Category:Number examples]].


<pre>
<pre>

Latest revision as of 07:15, 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 lists articles that are in the namespace the current page is in – in this case blank (which is the Main namespace) – and that belong to Category:Number examples.

{{#dpl:
|category = Number examples
|namespace= {{NAMESPACE}}
}}

Result

{{#dpl: |category = Number examples |namespace= }}