Template:Category tree
From OpenMedia
To display all subcategories, click on the "+". |
[edit]
Documentation
This template provides a way to show all subcategories of a specific category.
Contents
Usage
{{Category tree}}
Syntax
- {{category tree}} - basic form, uses the name of the category page it is placed on
- {{category tree|
category page
}} - usescategory page
as the category page name
Examples
- {{category tree|
Films
}}
- will create this box:
To display all subcategories, click on the "+".
► Films
|
- {{category tree}}
- will create:
To display all subcategories, click on the "+". |
Parameters
Parameter name | Description | 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: all users
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
- bar:Vorlage:Kategoriestruktur - similar template on the Bavarian Wikipedia
- de:Vorlage:Kategoriestruktur - similar template on the German Wikipedia
- en:Template:Category tree - similar template on the English Wikipedia