Dynamic Page List v3/Examples List of subpages by Namespace

From KB42


List Pages by Namespace

[edit | edit source]
{{#dpl:
  |namespace=Manual
  |includesubpages=true
  |shownamespace=false
  |count=5
  |ordermethod=title
}}

Output:


Display the subpages of the page VisualEditor in the namespace Manual in a 1-column layout:

{{#dpl:
|titlematch=VisualEditor/%  
|shownamespace=false
|namespace= Manual
|replaceintitle=/VisualEditor\//,
|columns=1
|mode=unordered
|rowcolformat=width=100%
}}

If you want to limit the output to the first level of subpages, you can add:

|nottitlematch=Dynamic Page List v3/Examples List of subpages by Namespace/%/%