Difference between revisions of "CatTree example"

From Organic Design wiki
(needs TreeView4)
m
Line 1: Line 1:
[[Template:CatTree]] accepts a category name for its single parameter and renders a two-level tree of it's sub-categories and sub-sub-categories. For example. '''Note:''' the CatTree template requires [[Extension:TreeView4.php|TreeView4]] since the old version did not allow trees to be included in templates for transclusion.
+
[[Template:CatTree]] accepts a category name for its single parameter and renders a two-level tree of it's sub-categories and sub-sub-categories. For example. '''Note:''' the CatTree template requires [[Extension:Treeview4.php|TreeView4]] since the old version did not allow trees to be included in templates for transclusion.
  
 
The following wikitext syntax,
 
The following wikitext syntax,

Revision as of 11:15, 7 September 2007

Template:CatTree accepts a category name for its single parameter and renders a two-level tree of it's sub-categories and sub-sub-categories. For example. Note: the CatTree template requires TreeView4 since the old version did not allow trees to be included in templates for transclusion.

The following wikitext syntax,

    {{CatTree|Organisations}}

yields the following tree,