Difference between revisions of "Template:CatTree"

From FollowTheScore
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:
+
<includeonly>
 +
{{#tree:openlevels=1|
 +
*'''[[:Categorie:{{{1}}}|{{{1}}}]]'''
 +
*{{#dpl:
 
  |category={{{1}}}
 
  |category={{{1}}}
 
  |namespace=Category
 
  |namespace=Category
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatLink2.1¦%PAGE%¦%TITLE%}²\n,,
+
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatTreeSub¦%PAGE%¦%TITLE%}²\n,,
}}</includeonly>
+
}}}}</includeonly>
<noinclude>Usage: <tt><nowiki>{{CatLink2|MyCategory}}</nowiki></tt></noinclude>
+
<noinclude>Make a two-level tree of the specified category.<br><br>Usage: <tt><nowiki>{{CatTree|MyCategory}}</nowiki></tt></noinclude>

Latest revision as of 10:56, 6 August 2008

Make a two-level tree of the specified category.

Usage: {{CatTree|MyCategory}}