Memory Alpha


37,465pages on
this wiki
Revision as of 15:38, October 21, 2008 by Renegade54 (Talk | contribs)

Help icon  Contents → Category

You can place an article in a category by adding the string [[Category:Example]] to the article's text (where Example is the name of the category). A list of categories may be found at Special: Categories.

The category feature has several functions:

Sort keys

All articles in a given category are sorted alphabetically. If you want an article to be sorted by something other than its name, you should use the following link form in the article's text: [[Category:Example|Sort key]] (where Example is the category name, and Sort key is the value to sort the list by).

For example, by default, the article Jean-Luc Picard will be listed under the character's first name, "J", because it is the first letter of the article's name. You could instead force the article to be listed by the character's last name ("Picard, Jean-Luc") by using the string [[Category:Main Characters|Picard, Jean-Luc]].

Remember that sort keys are case sensitive, with capital letters being sorted before lowercase letters. Therefore, Picard, Jean-Luc would appear in the list before phaser.


  • When adding Human names (as well as those of several other species) to a category, always sort by last name: for Deanna Troi, use [[Category:Black-eyed women|Troi, Deanna]]
  • When adding the name of planets, use a double-digit instead of the Roman numeral: for Rigel VII, use [[Category:Planets|Rigel 07]]
  • On "list categories" such as Category:Planets, include additional "list articles" by prefixing the sort key with a single blank: for Unnamed planets, use [[Category:Planets| Unnamed planets]]. This way, these articles will appear at the beginning of the list.

Linking to a category

In order to link to a category without the current article being added to that category, place a colon before the word "Category" inside the link, i.e.

[[:Category:Main Characters]]


Category pages may be added to other categories and are then recognized as sub-categories. For example, you could edit [[Category:Main Characters]] and add the link [[Category:Characters]]. The Main Characters category would then be a sub-category of the Characters category.

Around Wikia's network

Random Wiki