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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Tiny formatting tweak for readability)
 
(2 intermediate revisions by the same user not shown)
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>
{{#dpl:
{{#dpl:
|category = Number examples
|category = Number examples
|namespace= {{NAMESPACE}} <!-- current namespace is blank (Main) -->
|namespace= {{NAMESPACE}}
}}
}}
</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= }}