Difference between revisions of "CatTree example"
From Organic Design wiki
m (moved Category Tree Example to CatTree example) |
(formatting) |
||
Line 2: | Line 2: | ||
The following wikitext syntax, | The following wikitext syntax, | ||
− | <pre> | + | {{code|<pre>{{CatTree|Organisations}}</pre>}} |
− | + | ||
− | </pre> | ||
yields the following tree, | yields the following tree, | ||
{{CatTree|Organisations}} | {{CatTree|Organisations}} | ||
[[Category:Examples]] | [[Category:Examples]] |
Revision as of 10:26, 20 October 2010
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,
yields the following tree,