Template:Category tree all/doc

Usage
This template displays a configurable showable list of subcategories, pages, images, or parent categories.

Syntax

 * - basic form, uses the name of the category page it is placed on
 * - uses  as the category page name
 * - uses more of the categorytree tag parameters (see http://me-pedia.org/wiki/Extension:CategoryTree for details):
 * mode=pages displays only the pages in the category; mode=all displays subcategories, pages and images; mode=parents displays only the parent categories;
 * depth=0 displays only the root node, depth=1 displays one level of the tree and so forth;
 * hideroot=on hides the root category;
 * showcount=on displays the number of sub-subcategories after each subcategory.
 * header=a user-defined header to override the default, for example "click + to show pages"
 * - basic right-aligned form
 * - right-aligned form with mode parameter

Examples

 * will create this box:
 * will create this box:


 * will create a box without numbers:
 * will create a box without numbers:


 * will create a box initially showing the root only:
 * will create a box initially showing the root only:


 * will create a box initially showing the tree to a depth of one:
 * will create a box initially showing the tree to a depth of one:


 * will create a box initially showing the tree to a depth of two:
 * will create a box initially showing the tree to a depth of two:


 * will create this box:
 * will create this box:


 * will create this box:
 * will create this box:


 * will create this box:
 * will create this box:


 * will create this box:
 * will create this box:




 * will create these two boxes (next example uses category tree both to do the same):


 * is an alternative way to create the same two boxes:
 * is an alternative way to create the same two boxes: