Difference between revisions of "Template:Category tree"

From blackwiki
Jump to navigation Jump to search
imported>TheDJ
(more clear error.)
imported>Bencherlite
m (typo)
Line 1: Line 1:
 
{| style="border: 1px solid #808080; padding: 5px;" {{#ifeq:{{{alignright|}}}|yes|align="right"}}
 
{| style="border: 1px solid #808080; padding: 5px;" {{#ifeq:{{{alignright|}}}|yes|align="right"}}
 
|'''To display all subcategories click on the "+":'''
 
|'''To display all subcategories click on the "+":'''
Category trees are disable due to [[bugzilla:23682|performance problems]].<noinclude>{{#tag: categorytree| {{{1|{{PAGENAME}}}}} |depth=0}}</noinclude>
+
Category trees are disabled due to [[bugzilla:23682|performance problems]].<noinclude>{{#tag: categorytree| {{{1|{{PAGENAME}}}}} |depth=0}}</noinclude>
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 19:03, 27 May 2010

To display all subcategories click on the "+": Category trees are disabled due to performance problems.
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 "+":

Category trees are disabled due to performance problems.

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

To display all subcategories click on the "+":

Category trees are disabled due to performance problems.

See also