Help talk:Dynamic Page Lists

From UBC Wiki

Contents

Thread titleRepliesLast modified
DPL Syntax to show all subpages of a particular page 019:56, 12 February 2015

DPL Syntax to show all subpages of a particular page

Hi Will,

I noticed that the example code for showing all subpages of a particular page didn't quite work for me. I did found a solution eventually but just want to ask if you need to double check on the syntax for the DPL posted and maybe update/fix it if necessary:

<dpl> 
titlematch={{PAGENAME}}/% 
namespace={{NAMESPACE}} 
shownamespace=false 
</dpl> 

The code that works is:

<dpl> 
titlematch=AnActualPageName/% 
namespace=AnActualNamespace
shownamespace=false 
</dpl> 

Compare these two pages below to see the difference: http://wiki.ubc.ca/Help:Adding_Media http://wiki.ubc.ca/Course:ETEC540/2009WT1

Thanks! Yvonne

Yvochan (talk)19:56, 12 February 2015