Пређи на садржај


This template should be used on pages in the Категорија: namespace, and automatically generates descriptions and categorization for categories of a recognized type (see below). It is implemented by Модул:category tree and its submodule Модул:category tree/poscatboiler. It is preferable not to invoke this template directly, but to simply use {{auto cat}} (with no parameters), which will automatically invoke this template on appropriately-named category pages.

This template automatically generates descriptions and categorization for categories whose name follows the format "(language name) (label)" and "(label) by language". It should be added to all supported categories.

The template is implemented by Module:category tree and its submodule Module:category tree/poscatboiler.


The language code (see Wiktionary:Languages) of the language that the category name begins with, and which the category's contents belongs to. Leave this empty for "by language" type categories.
The label of the category. This is the part of the category name that follows the language name. It cannot be empty.
The script code (see Wiktionary:Scripts), if this is a script-specific subcategory. This is used for languages whose entries are categorised separately by script.


Adding, removing or modifying categories[уреди]

The information on each label for this template is contained in Module:category tree/poscatboiler/data and its submodules. For a list of all data modules, see Category:Category tree data modules/poscatboiler.

The following values are recognised in these data modules:

A table listing one or more parent labels of this label.
  • An item in the table can be either a single string, or a table containing two elements called name and sort. In the latter case, name value specifies the parent label name, while the sort value specifies the sort key to use to sort it in that category.
  • If a parent label begins with Category: it is interpreted as a raw category name, rather than as a label name. It can still have its own sort key as usual.
The "fundamental" category name, which is the parent category that all umbrella categories are collected in.
The sort key used to sort the umbrella category within the fundamental category. This generally defaults to the display name, but can be overridden with something like ** for root categories to make them easier to find.
A plain English description for the label.
|can_be_empty = true
Specifies that the category should not be deleted when empty. This should be used for maintenance categories.

Special template-like parameters can be used inside the parents and description values. These are replaced by the equivalent text.

The name of the language that the category belongs to.
The name of the language's main category, which adds "language" to the regular name.