Difference between revisions of "DPL Example 008"

From FollowTheScore
Jump to: navigation, search
Line 15: Line 15:
  
 
{{#tree:
 
{{#tree:
{{DPL Example 008 sub|DPL Example 007 main cat}}
+
* Pages in category     '' DPL Example 007 main cat ''
 +
{{#dpl:debug=1|category=DPL Example 007 main cat|notnamespace=Category|format=,\n** [[%PAGE%|%TITLE%]]}}
 +
** Pages in category     '' DPL Example 007 sub cat 1''
 +
{{#dpl:debug=1|category=DPL Example 007 sub cat 1|notnamespace=Category|format=,\n*** [[%PAGE%|%TITLE%]]}}
 +
** Pages in category     '' DPL Example 007 sub cat 2''
 +
{{#dpl:debug=1|category=DPL Example 007 sub cat 2|notnamespace=Category|format=,\n*** [[%PAGE%|%TITLE%]]}}
 
}}
 
}}

Revision as of 08:38, 11 March 2009

back to list of examples

Category tree

This is just for demonstration what can be done (there is a separate etension for that purpose). You can easily adapt the format, add conditions etc.

{{#tree:
{{DPL Example 008 sub|DPL Example 007 main cat}}
}}

The above DPL command produces the following output:


{{#tree:

  • Pages in category     DPL Example 007 main cat

}}