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:
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 Jack McCoy 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 ("McCoy, Jack") by using the string [[Category:District Attorneys|McCoy, Jack]].
Remember that sort keys are case sensitive, with capital letters being sorted before lowercase letters. Therefore, McCoy, Jack would appear in a list before mccoy.
- When adding names to a category, always sort by last name: for Lennie Briscoe, use [[Category:NYPD|Briscoe, Lennie]]
- On "list categories" such as Category:L&O episodes, include additional "list articles" by prefixing the sort key with a single blank: for L&O Season 1, use [[Category:L&O episodes| L&O Season 1]]. 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 pages may be added to other categories and are then recognized as sub-categories. For example, you could edit [[Category:Special Victims Unit]] and add the link [[Category:NYPD]]. The Special Victims Unit category would then be a sub-category of the NYPD category.