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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This list will output articles that are in the namespace the current pa...")
 
imported>FrozenPlum
m (Tiny formatting tweak for readability)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
==Example==
==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]].
This lists articles that are in the namespace the current page is in in this case blank (which is the ''Main'' namespace) – and that belong to [[:Category:Number examples]].


<pre>
<pre>
{{#dpl:
{{#dpl:
|category = Number examples
|category = Number examples
|namespace= {{NAMESPACE}} <!-- current namespace is blank (Main) -->
|namespace= {{NAMESPACE}}
}}
}}
</pre>
</pre>
Line 23: Line 23:


<noinclude>
<noinclude>
[[Category:Select by namespace-related criteria‎]]
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]
[[Category:Uses namespace parameter]]
[[Category:Uses namespace parameter]]

Latest revision as of 07:15, 1 April 2023

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 lists articles that are in the namespace the current page is in – 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= }}