Difference between revisions of "Template:CatTree"

From FollowTheScore
Jump to: navigation, search
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²{CatTreeSub¦%PAGE%¦%TITLE%}²\n,,
+
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatLink2.1¦%PAGE%¦%TITLE%}²\n,,
}}</includeonly>
+
}}}}</includeonly>
<noinclude>Usage: <tt><nowiki>{{CatTree|A category}}</nowiki></tt></noinclude>
+
<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}}