Difference between revisions of "DPL Example 009"
From FollowTheScore
(New page: __NOTOC__ {{Example|Category tree}} This is a slightly improved version of DPL Example 008. <pre><nowiki> {{#tree: * Pages in category '' DPL Example 007 main cat '' {{...) |
|||
Line 20: | Line 20: | ||
{{#tree: | {{#tree: | ||
− | {{DPL Example 009 sub|DPL Example 008 main cat|*}} | + | {{DPL Example 009 sub|DPL Example 008 main cat|*|#ffeecc}} |
− | {{DPL Example 009 sub|DPL Example 008 sub cat 1|**}} | + | {{DPL Example 009 sub|DPL Example 008 sub cat 1|**|eeccff}} |
− | {{DPL Example 009 sub|DPL Example 008 sub cat 2|**}} | + | {{DPL Example 009 sub|DPL Example 008 sub cat 2|**|ccffee}} |
}} | }} |
Revision as of 07:57, 11 March 2009
back to list of examples
Category tree
This is a slightly improved version of DPL Example 008.
{{#tree: * Pages in category '' DPL Example 007 main cat '' {{#dpl:debug=1|notnamespace=Category|format=,\n** [[%PAGE%|%TITLE%]]|category=DPL Example 007 main cat}} ** Pages in category '' DPL Example 007 sub cat 1'' {{#dpl:debug=1|notnamespace=Category|format=,\n*** [[%PAGE%|%TITLE%]]|category=DPL Example 007 sub cat 1}} ** Pages in category '' DPL Example 007 sub cat 2'' {{#dpl:debug=1|notnamespace=Category|format=,\n*** [[%PAGE%|%TITLE%]]|category=DPL Example 007 sub cat 2}} }}
The above DPL command produces the following output:
{{#tree:
- DPL Example 008 main cat
- DPL Example 008 sub cat 1
- DPL Example 008 sub cat 2
}}