Template:Category tree
From Wikimedia Commons, the free media repository
(Redirected from Template:Categorytree)
| To display all subcategories, click on the "+". |
[edit]
Documentation
(this part of the documentation is only available in some languages)
This template provides a way to show all subcategories of a specific category.
Contents |
Usage
{{Category tree}}
(this part of the documentation is only available in some languages)
Syntax
- {{category tree}} - basic form, uses the name of the category page it is placed on
- {{category tree|
category page}} - usescategory pageas the category page name
Examples
- {{category tree|
Films}}
- will create this box:
| To display all subcategories, click on the "+". |
- {{category tree}}
- will create:
| To display all subcategories, click on the "+". |
Parameters
| Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional? |
|---|---|---|---|
| parameter #1 (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:
Localization
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
- {{Category tree all}} - similar template with more options such as to display different tree depths and to display parent categories
- mw:Extension:CategoryTree
- en:Template:Category tree - similar template on the English Wikipedia