Difference between revisions of "DPL Example 007"
From FollowTheScore
Line 11: | Line 11: | ||
{{#dpl: | {{#dpl: | ||
− | |category=Example 007 main cat | + | |category=DPL Example 007 main cat |
|notnamespace=Category | |notnamespace=Category | ||
}} | }} | ||
{{#dpl: | {{#dpl: | ||
− | |category=Example 007 main cat | + | |category=DPL Example 007 main cat |
|namespace=Category | |namespace=Category | ||
|format=,²{DPL Example 007 sub¦%PAGE%}²,\n, | |format=,²{DPL Example 007 sub¦%PAGE%}²,\n, | ||
}} | }} |
Revision as of 21:36, 9 March 2009
back to list of examples
Show members of a category and of all its subcategories
We use two nested DPL statements.
The above DPL command produces the following output:
Pages in category :Category:DPL Example 007 sub cat 1
|
Pages in category :Category:DPL Example 007 sub cat 2