Difference between revisions of "Template:Category tree"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(use CSS to style this)
imported>Moxy
(► update)
Line 1: Line 1:
 
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}}
 
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}}
! Click the "+" below to see all subcategories:
+
! Click the "" below to see all subcategories:
 
|-
 
|-
 
| {{#tag: categorytree| {{{1|{{PAGENAME}}}}}|depth=0}}
 
| {{#tag: categorytree| {{{1|{{PAGENAME}}}}}|depth=0}}
 
|}<noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
 
|}<noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Revision as of 01:54, 16 January 2012

Click the "►" below to see all subcategories:
50px 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:

Click the "►" below to see all subcategories:
Films

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

Click the "►" below to see all subcategories:

See also