Examples/Parameter: shownamespace (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum m (FrozenPlum moved page Controlling output format/Parameter: shownamespace (example 1) to Examples/Parameter: shownamespace (example 1): Simplifying how things are structured) |
imported>FrozenPlum m (Formatting) |
||
Line 6: | Line 6: | ||
==Example== |
==Example== |
||
This will select and output all Talk pages in [[:Category:Number examples]], without the |
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. |
||
<pre> |
<pre> |
Latest revision as of 06:03, 1 April 2023
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 }}