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...)
 
m
 
(2 intermediate revisions by the same user not shown)
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>{{TempTree|MyTemplate}}</nowiki></tt>
 +
 
 +
e.g.
 +
<pre>{{TempTree|Symbols}}</pre>
 +
renders:
 +
{{TempTree|Symbols}}
 +
</noinclude>

Latest revision as of 05:30, 15 October 2007

Make a two-level tree of the specified template.

Usage: {{TempTree|MyTemplate}}

e.g.

{{TempTree|Symbols}}

renders:

{{#tree:openlevels=1|

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

}}