| Click on "►" below to display subcategories: |
|---|
Category Category tree not found
|
Usage
Note that this template does not work as expected on either the mobile site or if users do not have JavaScript enabled. This affects about half of the readers at the English Wikipedia (as of 2016).
Syntax
{{}}– basic form, uses the name of the category page it is placed on{{|title}}– uses the unnamed parametertitleas the category name to be displayed{{|alignright=yes}}– align to the right{{|depth=2}}– display the tree already opened to 2 levels (2 is the maximum){{|help=no}}– hide the help text about clicking on "►".
Examples
{{|Films}} will create this box:
| Click on "►" below to display subcategories: |
|---|
{{|Films about cats|depth=1}} will create this box:
| Click on "►" below to display subcategories: |
|---|
See also
- {{Category tree all}} – version that lets the user configure the appearance
- {{Category tree both}} – displays two showable lists: subcategories at the left and parent categories at the right
- mw:Extension:CategoryTree
- commons:Template:Category tree
Hidden category:
