Difference between revisions of "Template:TempTree"

From FollowTheScore
Jump to: navigation, search
(Template Tree, could make a new Template called NamespaceTree which allows any namespace...)
 
(Category -> Template)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#tree:openlevels=1|
 
{{#tree:openlevels=1|
*'''[[:Category:{{{1}}}|{{{1}}}]]'''
+
*'''[[:Template:{{{1}}}|{{{1}}}]]'''
 
*{{#dpl:
 
*{{#dpl:
 
  |category={{{1}}}
 
  |category={{{1}}}
Line 7: Line 7:
 
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatTreeSub¦%PAGE%¦%TITLE%}²\n,,
 
  |format=,**[[%PAGE%|%TITLE%]]\n²{CatTreeSub¦%PAGE%¦%TITLE%}²\n,,
 
}}}}</includeonly>
 
}}}}</includeonly>
<noinclude>Make a two-level tree of the specified category.<br><br>Usage: <tt><nowiki>{{CatTree|MyCategory}}</nowiki></tt></noinclude>
+
<noinclude>Make a two-level tree of the specified template.<br><br>Usage: <tt><nowiki>{{CatTree|MyTemplate}}</nowiki></tt></noinclude>

Revision as of 04:11, 15 October 2007

Make a two-level tree of the specified template.

Usage: {{CatTree|MyTemplate}}