Difference between revisions of "Template:Category tree/doc"
Jump to navigation
Jump to search
imported>Fractaler (→See also: +{{tl|Category tree both}}) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 20: | Line 20: | ||
* [[commons:Template:Category tree]] | * [[commons:Template:Category tree]] | ||
| − | <includeonly><!-- CATEGORIES ONLY HERE, THANKS --> | + | <includeonly>{{Sandbox other||<!-- CATEGORIES ONLY HERE, THANKS --> |
[[Category:Category namespace templates]] | [[Category:Category namespace templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 00:59, 24 April 2020
| This is a documentation subpage for Template:Category tree. It contains usage information, categories and other content that is not part of the original template page. |
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
{{Category tree}}– basic form, uses the name of the category page it is placed on{{Category tree|title}}– uses the unnamed parametertitleas the category name to be displayed
Example
{{Category tree|Films}}will create this box:
| Click on "►" below to display subcategories: |
|---|
► Films |
See also
- {{Category tree all}} – version that lets the user configure the appearance
- {{Category tree both}}
- mw:Extension:CategoryTree
- commons:Template:Category tree