no edit summary
Line 1: Line 1:  +
{{toplink
 +
|linkpage =Help:Extensions
 +
|linktext =Extensions
 +
|pagetype=Help
 +
}}
 +
 +
 
The '''CategoryTree''' extension provides a dynamic view of the wiki's category structure as a tree.  
 
The '''CategoryTree''' extension provides a dynamic view of the wiki's category structure as a tree.  
   Line 44: Line 51:  
* Using a template to specify the category: <tt><nowiki>{{#categorytree:{{root category}}}}</nowiki></tt> - the name of the root category would be defined by the contents of Template:Root_category.
 
* Using a template to specify the category: <tt><nowiki>{{#categorytree:{{root category}}}}</nowiki></tt> - the name of the root category would be defined by the contents of Template:Root_category.
 
* Using a template parameter to specify the category, when using CategoryTree inside a template: <tt><nowiki>{{#categorytree:{{{1}}}}}</nowiki></tt> in Template:Baz can be called using <nowiki>{{Baz|Foo}}</nowiki>
 
* Using a template parameter to specify the category, when using CategoryTree inside a template: <tt><nowiki>{{#categorytree:{{{1}}}}}</nowiki></tt> in Template:Baz can be called using <nowiki>{{Baz|Foo}}</nowiki>
 +
          
[[Category:Help]]
 
[[Category:Help]]
 +
[[Category:Extensions|C]]