Categories allow you to put the Lexicanum articles into the right context. One article can be categorized into several categories; and their (sub) categories can be categorized into other (main) categories.
Categories serve different purposes in the Lexicanum. Possible uses are:
- systematic classification of articles
- allocation of article types to articles
- implementation of keywords for the articles
- basis for statistical analysis regarding the composition of articles
The categorization of articles in the Lexicanum is carried out flexibly. This procedure is multi hierarchic and makes possible multiple inheritance. Generally speaking every author is able to define categories or move them in the hierarchy etc. To avoid that this freedom leads to losing the sense of categorization, deteriorating the chance to find the articles of certain areas and impeding statistical analysis, the Lexicanum main categories and sub categories can not be changed (at least for the time being).
If you think that something has to be changed or maybe a category should be added, then please indicate this on the discussion page of this article. This page has to be maintained regarding changes made to the categories.
Every article has to be allocated to one or more categories.
Allocation of article into Categories
Articles can be allocated into categories by adding this code to the article's sourcecode:
It doesn't really matter where in the source code you insert the command. To achieve some clarity it is recommended that you put it in at the end of the source code.
Linking to a category
Every category should be described by a category article in the category name space, where content and purpose of the category should be described. A direct link to this article is achieved by the prefix ":":
An article can be allocated to several categories, but it should be categorized at least once to a main category.
The allocation of an article into a category has these consequences:
- In the view of the article every category is shown at the end of the article. Every listed category points to its article.
- In the category article every correspinding article is shown under Articles in the Category:X
Alphabetical arrangement of articles or sub categories inside a category
To achieve an alphabetical arrangement you need this syntax:
Thus this article would be arranged under "Y", not under its title "X". This may be helpful for example in the alphabetical arrangement of family names:
In the category the article will then appear under "B", but with its original title "Frodo Beutlin".
Allocation of (sub) categories to (main) categories
Category articles can be allocated to other categories. The category article (e.g. Category:Imperium) is allocated (analogous to normal articles) to the main category like this:
[[Category:Species and factions]]
The result is that "Imperium" becomes a sub category of "Species and factions". Thus, every article categorized under "Imperium" is automatically categorized under "Species and factions" too.
The Lexicanum:Naming conventions have to be applied when composing categories.
The names of the categories should be clearly defined and meaningful. Please avoid the use of whole "paths" from the root of the category tree. A category about Greek sculptures for example should not be named "Fine Arts:Sculptures:Antique sculptures:Greek culture", because categories can have several main categories and thus several different paths are possible. In addition paths make it much more difficult to restructure and rename categories.
Alternatives for categories
Apart from the categories there are other mechanisms in the Lexicanum to ease navigation and structuring of articles. These are (amongst others):
- Normal Links between articles
- The function "What links here" (under "Tools")
- Different namespaces for normal articles, pictures, templates...
Before using a category it may help to think about using one of these alternatives instead.
List of the category articles
A list with all existing categories can be found here: Special page: Categories