Help:Classification in categories
Classification in general
Classification in categories is essential to find quickly articles or media types or just for a classification. [[Category:Flora]]
creates a category. But it has to be mentioned that it will not be found by a standard search, because this page isn't esteablished yet really. To do so you have to click the red link from the category's name and add a description or purpose of this particular category. An added colon, however, creates only a link to the category, e.g.: [[:Category:Flora]]
. Hereby a convenient way adding categories is to activate the “HotCat” categorisation tool in your own preferences in section “Gadgets”.
Sorting
In general each category or page is sorted by it's name, but it's also possible to alter this behaviour:
Wiki-Page Abies alba … |
Now this category will be sorted differently as given and not like “Abies alba”. In a similar way you can alter the way of sorting of categorised words themselves:
- Example
- On a page named “Resource Subtype” you can sort it to “Subtype” (i.e. letter S) by adding the optional sorting word after the vertical bar “|”:
[[Category:Metadata | Subtype]]
.
Automatic sorting
If you want a page name like “Bombus hortorum” sorted automatically by “hortorum, Bombus” then use template: PAGENAME word2-n, word1. Just insert on the category page:
{{DEFAULTSORT: {{PAGENAME word2-n, word1}}}}
Nesting
It's also possible to nest categories in the following way and create sub-categories:
Page with [[Category:A sub-category]] |
Sub-category's page with [[Category:Super-category]] | ||
follow link of category→ |