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.
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 Luke Skywalker will be listed under the character's first name, "L", 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 ("Skywalker, Luke") by using the string [[Category:Humans|Skywalker, Luke]].
Remember that sort keys are case sensitive, with capital letters being sorted before lowercase letters. Therefore, Luke Skywalker would appear in the list before servomotor.
When adding Human names (as well as those of other species) to a category, always sort by last name: for Luke Skywalker, use [[Category:Humans|Skywalker, Luke]]
On "list categories" such as Category:Planets, include additional "list articles" by prefixing the sort key with an asterisk: for List of planets, use [[Category:Planets|*]]. This way, these articles will appear at the beginning of the list.
Place categories in alphabetical order on separate lines at the end of an article. The only thing coming after a category would be an inter-wiki link.
Do not place articles in redundant categories. For example, since Luke Skywalker is in Category:Individuals, the article does not go in Category:In-universe articles, as [[Category:Individuals]] is in that category itself.
Category pages may be added to other categories and are then recognized as sub-categories. For example, you could edit Category:Individuals and add the link {{Subcat|In-universe articles}}. The Individuals category would then be a sub-category of the In-universe articles category.
A category is a group of pages with a similar theme, such as characters, books, or places. You can add a category link to any page, and it will automatically be listed on a category page with other similarly linked pages.
Categories help organize the wiki and make it easier for readers to find related content. Ideally every wiki page should be in at least one category. A category page itself can be in another category. So, for example, a wiki might have a category called "Characters" with sub-categories for Minor Characters, Dead Characters, and Main Characters.
At the bottom of each page, there is a set of "Related Pages" images to help guide visitors from one page to another; these are chosen based on category tags on each page. The more specific the category tags are, the better these suggestions will be.
How-To
How to Add a Page to a Category
A page appears in a category when a Category link is added to that individual page. You cannot add pages to a category from the category's listing page.
At the end of the article, you can add a category without going into edit mode. Just click "Add category" and type in a category and press enter. After you have entered one category, you can type another, or save your additions.
On the right hand side of the editor is a "Categories" module. Click the arrow to open this and you will see a list of the categories already present. Click the pencil next to each category to edit that category. Click the trash can to delete the category. To add a category, type the category name in the window above the existing categories. As you type, you will see suggested completions for your category.
In source mode you can add the category name as a link to the bottom of the page itself, or use the category module. Existing categories will not appear at the bottom of the page in source mode; you must check the category module for existing categories.
How to Create Categories
Adding the name of a category, e.g. Characters, to a page will create a listing on a page called "Category:Characters". You can view a category by clicking the category name at the bottom of the regular page.
If you wish to add text to the category page itself (such as an explanation of the types of pages included), then go to the new category and click the button to create it. Edit it as you would a normal wiki page, and click publish. Your text will appear at the top of the page, followed by the list of pages in that category.
How to Delete Categories
To delete a category, first remove the category tag from all pages in the category.
An admin can then delete any content on the category page itself by using the "Delete" option in the Edit menu dropdown, the same way a regular page is deleted.
Category Displays
Category Gallery
By default, all categories on Wikia have a Category Gallery at the top of the category page itself. This shows a small image and link for each of the 8 most popular pages in that category. The image shown is usually the first image on each page.
If a page has no graphics, then the first few lines of text will appear.
If you have a wiki where this display does not work well, you can add the magic word __NOCATEGORYGALLERY__ to the top of the page to remove it. You can also request that it be disabled on all pages through Special:Contact.
Category Exhibition is an optional display method for category pages. It can be turned on by admins using Wiki Features.
In the exhibition image mode, every page in the category is displayed as an image with a link. Images can be displayed in alphabetical, most visited, or recently edited order.
A small toggle option on the upper right of the page allows users to choose a "list" (lines) or image (squares) view.
In list mode, the category gallery appears above an alphabetical listing of all pages in the category.
Advanced Suggestions
For easy administration of the wiki, it may be desirable to have some categories hidden by default, so that only administrators see them. In order to do that, you need to add __HIDDENCAT__ on the category page.
You can see a list of all currently used categories for any wiki at its Special:Categories page.
Special:CategoryTree is an alternate way to display the contents of a category. The extension also adds the ability to expand subcategories on a category page, allowing you to see further subcategories. It can be transcluded in other pages. See MediaWiki for details.