Difference between revisions of "Template:CatTree"
From FollowTheScore
m |
(can put the tree syntax in here now that using treeview4) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#dpl: | + | <includeonly> |
+ | {{#tree:openlevels=1| | ||
+ | *'''[[:Category:{{{1}}}|{{{1}}}]]''' | ||
+ | *{{#dpl: | ||
|category={{{1}}} | |category={{{1}}} | ||
|namespace=Category | |namespace=Category | ||
− | |format=,**[[%PAGE%|%TITLE%]]\n²{ | + | |format=,**[[%PAGE%|%TITLE%]]\n²{CatLink2.1¦%PAGE%¦%TITLE%}²\n,, |
− | }}</includeonly> | + | }}}}</includeonly> |
− | <noinclude>Usage: <tt><nowiki>{{ | + | <noinclude>Make a two-level tree of the specified category.<br><br>Usage: <tt><nowiki>{{CatLink2|MyCategory}}</nowiki></tt></noinclude> |
Revision as of 23:25, 8 September 2007
Make a two-level tree of the specified category.
Usage: {{CatLink2|MyCategory}}