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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
mNo edit summary
Line 11: Line 11:
{{#dpl:
{{#dpl:
|category = Number examples
|category = Number examples
|namespace= {{NAMESPACE}} <!-- current namespace is blank (Main) -->
|namespace= {{NAMESPACE}}
}}
}}
</pre>
</pre>

Revision as of 01:13, 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 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.

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

Result

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