Difference between revisions of "Template:CatTree"

From Organic Design wiki
(include tree)
Line 1: Line 1:
<includeonly>{{#dpl:
+
<includeonly>
 +
{{#tree:
 +
*'''[[:Category:{{{1}}}|{{{1}}}]]'''
 +
*{{#dpl:
 
  |category={{{1}}}
 
  |category={{{1}}}
 
  |namespace=Category
 
  |namespace=Category
 
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatLink2.1¦%PAGE%¦%TITLE%}²\n,,
 
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatLink2.1¦%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>Usage: <tt><nowiki>{{CatLink2|MyCategory}}</nowiki></tt></noinclude>

Revision as of 10:56, 7 September 2007

Make a two-level tree of the specified category.
Usage: {{CatLink2|MyCategory}}