Difference between revisions of "Template:Category tree/doc"
Jump to navigation
Jump to search
imported>Michael Bednarek m (Revert to revision 648615676 dated 2015-02-24 11:33:39 by Michael Bednarek: restore proper documentation.) |
|||
| Line 1: | Line 1: | ||
| − | {{Category tree| | + | {{Documentation subpage}} |
| + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | __NOTOC__ | ||
| + | ===Usage=== | ||
| + | ====Syntax==== | ||
| + | * {{tlx|Category tree}} – basic form, uses the name of the category page it is placed on | ||
| + | * {{tlx|Category tree|title}} – uses the [[Help:Template#parameters|unnamed parameter]] <code>title</code> as the category name to be displayed | ||
| + | |||
| + | ====Example==== | ||
| + | * {{tlx|Category tree|<code>Films</code>}} will create this box: | ||
| + | {{category tree|Films}} | ||
| + | {{clear}} | ||
| + | |||
| + | ===See also=== | ||
| + | * {{tl|Category tree all}} – version that lets the user configure the appearance | ||
| + | * [[mw:Extension:CategoryTree]] | ||
| + | * [[commons:Template:Category tree]] | ||
| + | |||
| + | <includeonly><!-- CATEGORIES ONLY HERE, THANKS --> | ||
| + | [[Category:Category namespace templates]] | ||
| + | |||
| + | </includeonly> | ||
Revision as of 11:52, 31 March 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