Template:Category tree all

Jump to navigation Jump to search
To display all subcategories click on the "►":
Category Category tree all not found
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

This template displays a configurable showable list of subcategories, pages, images, or parent categories.

Syntax[edit source]

  • {{category tree all}} – basic form, uses the name of the category page it is placed on
  • {{category tree all|title}} – uses title as the category page name
  • {{category tree all|mode=categories or pages or all or parents|depth=0, 1 or more|hideroot=on or off|showcount=on or off|header=user-defined header}} – uses more of the categorytree tag parameters (see http://www.mediawiki.org/wiki/Extension:CategoryTree for details):
    • mode=pages displays only the pages in the category; mode=all displays subcategories, pages and images; mode=parents displays only the parent categories; mode is categories by default.
    • depth=1 displays one level of the tree; depth=2 displays two levels of the tree, and so forth; depth is 0 by default.
    • hideroot=on hides the root category; hideroot is off by default.
    • showcount=off disables the (category, page, file) count after each category in the tree; showcount is on by default.
    • header=a user-defined header to override the default, for example "click + to show pages"

Examples[edit source]

Subcategories, pages and images[edit source]

Code: {{category tree all|Health|mode=all}}

To display all pages, subcategories and images click on the "►":
Health(19 C)

Subcategories[edit source]

Code: {{category tree all|Health}}

To display all subcategories click on the "►":
Health(19 C)

Parent categories[edit source]

Code: {{category tree all|Health|mode=parents}}

To display all parents click on the "►":
Health

Header[edit source]

Code: {{category tree all|Health|mode=parents|header=Breadcrumb (start point)} ... {{category tree all|Health|mode=parents|header=Breadcrumb (finish point)}

>|

Breadcrumb (start point)
Health

|-You are here: "Health"

Breadcrumb (finish point)
Health(19 C)

|>

See also[edit source]

External links[edit source]

 

la:Formula:Category tree all pt:Predefinição:Árvore de todas categorias ur:سانچہ:Category tree all