Difference between revisions of "Template:Category tree/doc"
Jump to navigation
Jump to search
imported>Michael Bednarek (Undid revision 648602140 by 66.87.68.170 (talk): restore correct usage.) |
|||
| Line 5: | Line 5: | ||
====Syntax==== | ====Syntax==== | ||
* {{tlx|Category tree}} – basic form, uses the name of the category page it is placed on | * {{tlx|Category tree}} – basic form, uses the name of the category page it is placed on | ||
| − | * {{tlx|Category tree| | + | * {{tlx|Category tree|title}} – uses the [[Help:Template#parameters|unnamed parameter]] <code>title</code> as the category name to be displayed |
====Example==== | ====Example==== | ||
Revision as of 11:33, 24 February 2015
| 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
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|will create this box:Films}}
| Click on "►" below to display subcategories: |
|---|
► Films |
See also
- {{Category tree all}} – version that lets the user configure the appearance
- mw:Extension:CategoryTree
- commons:Template:Category tree