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://www.mediawiki.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; mode is categories by default.
 * depth=1 displays one level of the tree; depth=2 displays two levels of the tree, and so forth; depth is 0 by default.
 * hideroot=on hides the root category; hideroot is off by default.
 * showcount=off disables the (category, page, file) count after each category in the tree; showcount is on by default.
 * header=a user-defined header to override the default, for example "click + to show pages"

Examples

 * will create this box:


 * will create a box without numbers:


 * 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 this box:


 * will create this box:


 * will create this box: