Difference between revisions of "DPL Example 007"

From FollowTheScore
Jump to: navigation, search
Line 11: Line 11:
 
----
 
----
  
{{DPL Example 007 sub¦DPL Example 007 main cat}}
+
{{DPL Example 007 sub|DPL Example 007 main cat}}

Revision as of 21:54, 9 March 2009

back to list of examples

Show members of a category and of all its subcategories

We use a template which calls itself recursively. Thus arbitrary



The above DPL command produces the following output:


Pages in category     DPL Example 007 main cat

    Pages in subcategory     DPL Example 007 sub cat 1

      Pages in subcategory     DPL Example 007 sub cat 2