Difference between revisions of "Template:CatTree"

From Organic Design wiki
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<li>'''[[:Category:{{{1}}}|{{{1}}}]]'''<ul>
+
*'''[[:Category:{{{1}}}|{{{1}}}]]'''
 
{{#dpl:debug=1
 
{{#dpl:debug=1
 
  |allowcachedresults=false
 
  |allowcachedresults=false
 
  |category={{{1}}}
 
  |category={{{1}}}
 
  |namespace=Category
 
  |namespace=Category
  |format=,<li>[[%PAGE%|%TITLE%]]\n²{SubCatTree¦%PAGE%¦%TITLE%}²,</li>,
+
  |format=,**[[%PAGE%|%TITLE%]]\n²{SubCatTree¦%PAGE%¦%TITLE%}²,,
 
}}
 
}}
</ul></li></includeonly>
+
</includeonly>
 
<noinclude>Make a two-level tree of the specified category.
 
<noinclude>Make a two-level tree of the specified category.
 
== Usage ==
 
== Usage ==

Revision as of 14:34, 10 July 2015

Make a two-level tree of the specified category.

Usage

{{CatTree|MyCategory}}