Template:CategoryTree/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Usage[edit]

This template displays a showable list of subcategories.

Syntax[edit]

  • {{CategoryTree}} - basic form, uses the name of the category page it is placed on
  • {{CategoryTree|pagename}} - uses pagename as the category page name
  • {{CategoryTree|title}} - user-defined header to replace the default "CategoryTree for pagename"
  • {{CategoryTree|pagename|title}} - combining pagename and title to create a hyperlink to Special:CategoryTree?target=pagename with title as title.

Examples[edit]

will create this:

CategoryTree for Train stations

  • {{CategoryTree|Train stations|Kategoriebaum für Train stations}}
will create this:

Kategoriebaum für Train stations

With #tag:

will create this:
Train stations(44 C, 1 P)

See also[edit]