Difference between revisions of "Template:Category tree"

From blackwiki
Jump to navigation Jump to search
imported>Eastlaw
(Undid revision 289564708 by Sceptre (talk))
imported>Quiddity
(docpage, add a working example...)
Line 3: Line 3:
 
{{#tag: categorytree| {{{1|{{PAGENAME}}}}} |depth=0}}
 
{{#tag: categorytree| {{{1|{{PAGENAME}}}}} |depth=0}}
 
|}<noinclude>
 
|}<noinclude>
[[Category:Category namespace templates|{{PAGENAME}}]]
+
 
[[ja:Template:Categorytree]]
+
{{Documentation}}
 +
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 +
 
 
</noinclude>
 
</noinclude>

Revision as of 03:08, 31 May 2009

To display all subcategories click on the "+":
Template documentation[view] [edit] [history] [purge]

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

Examples

{{Category tree|Films}} will create this box:

To display all subcategories click on the "+":
Films

{{Category tree|Films about cats|depth=1}} will create this box:

To display all subcategories click on the "+":

See also