Difference between revisions of "DPL Example 009"
From FollowTheScore
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | {{Example|Category tree}} | + | {{Example|Category tree (improved)}} |
This is a slightly improved version of [[DPL Example 008]]. | This is a slightly improved version of [[DPL Example 008]]. | ||
Line 6: | Line 6: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{#tree: | {{#tree: | ||
− | + | {{DPL Example 009 sub|DPL Example 007 main cat |*|#ffff77}} | |
− | + | {{DPL Example 009 sub|DPL Example 007 sub cat 1|**|#eeccff}} | |
− | + | {{DPL Example 009 sub|DPL Example 007 sub cat 2|**|#ccffee}} | |
− | |||
− | |||
− | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 20: | Line 17: | ||
{{#tree: | {{#tree: | ||
− | {{DPL Example 009 sub|DPL Example | + | {{DPL Example 009 sub|DPL Example 007 main cat |*|#ffff77}} |
− | {{DPL Example 009 sub|DPL Example | + | {{DPL Example 009 sub|DPL Example 007 sub cat 1|**|#eeccff}} |
− | {{DPL Example 009 sub|DPL Example | + | {{DPL Example 009 sub|DPL Example 007 sub cat 2|**|#ccffee}} |
}} | }} |
Latest revision as of 08:03, 11 March 2009
back to list of examples
Category tree (improved)
This is a slightly improved version of DPL Example 008.
{{#tree: {{DPL Example 009 sub|DPL Example 007 main cat |*|#ffff77}} {{DPL Example 009 sub|DPL Example 007 sub cat 1|**|#eeccff}} {{DPL Example 009 sub|DPL Example 007 sub cat 2|**|#ccffee}} }}
The above DPL command produces the following output:
{{#tree:
- DPL Example 007 main cat
- DPL Example 007 main page 1
- DPL Example 007 main page 2
- DPL Example 007 sub cat 1
- DPL Example 007 sub cat 2
}}