Select by namespace-related criteria (examples)
Appearance
| ||||||||||||||
| Manual | Examples | Select by namespace-related criteria (examples) |
The examples on this page, all select articles based on NAMESPACE for output.
namespace parameter
[edit source]Main namespace
[edit source]{{#dpl:
|category=Fruit examples
|namespace=
|count=3
}}
Since the "Main" namespace has no prefix (it is technically blank), specifying a blank value for namespace gives articles in the main namespace that have the category Category:Fruit examples.
Result:
Multiple Namespaces
[edit source]{{#dpl:
|category=Number examples
|namespace=Help_talk¦
}}
The example gives articles that belong to Category:Number examples that are in the Help talk or the Main namespace.
Result: