Examples/Parameter: namespace (example 2)

From DynamicPageList3 Manual
Revision as of 22:46, 31 March 2023 by imported>FrozenPlum (FrozenPlum moved page Criteria for page selection/Parameter: namespace (example 2) to Examples/Parameter: namespace (example 2): Simplifying how things are structured)
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= }}