Template:Category tree/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Notice Categories should remain small enough. When a category is small enough (that means well sorted into subcategories) one seldom needs this extra "show subcategories" template. Please consider adding {{Crowded}} together with {{Category tree}}


This template provides a way to show all subcategories of a specific category.


{{Category tree}}


  • {{category tree}} - basic form, uses the name of the category page it is placed on
  • {{category tree|category page}} - uses category page as the category page name


will create this box:
To display all subcategories, click on the "►".
will create:
To display all subcategories, click on the "►".

Template parameters

Parameter Description Default Status
1 category page empty optional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users


To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

See also