Examples/Parameter: shownamespace (example 1)

From DynamicPageList3 Manual
Revision as of 06:03, 1 April 2023 by imported>FrozenPlum (Formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 will select and output all Talk pages in Category:Number examples‏‎, without the "Talk:" prepended to page names. The namespace "Talk" refers to talk pages within the main namespace; all other talk namespaces, such as "Help" or "Guide" talk pages, would need the format "namespace_talk". Only talk pages that have been added to the category (by placing Category:Number examples‏‎ on the talk page) will be listed.

{{#dpl:
|category      = Number examples
|namespace     = Talk
|shownamespace = false
|count         = 1
}}

Result

{{#dpl: |category = Number examples |namespace = Talk |shownamespace = false |count = 1 }}