Help:Categories

A category is a software feature of MediaWiki that provides automatic indexes, that are useful as table of contents. Together with links and templates they can structure a project and aid navigation.

A page appears in a category when a Category tag is added to that individual page. You cannot add pages to a category from the category's description/index page.

You can create new categories just by typing a new name. Pages can belong to more than one category, by having multiple category tags on the page.

Using the Rich Text Editor
In a wiki with the rich text editor and the category select functions enabled, there are two ways to add categories to an article:


 * 1. From article pages:
 * At the end of the article, you can add a category without going into full edit mode. Click "Add category" and type in the name of the category you want and press enter. As you type the name of a category, suggestions will appear with any currently existing categories that match your input. After you have entered one category, you can type another, or save your additions.


 * 2. From edit pages


 * At the end of the edit box is a separate section for adding and editing categories; it functions the same as the article page box.


 * Read more at Help:CategorySelect

Using wikitext source mode
To add categories in wikitext, such as in Source mode or on wikis without the rich text editor, you can simply type [[Category:]], and put the name of the category between the colon and the brackets.

Using categories
All categories will appear at the bottom of an article page, in a "Categories" box. Clicking the category name will take you to a Category description page which will list all articles and subcategories contained within that category. You may click "edit" on a category description page to add additional text or images to the top of the page above the subcategory lists, and to place the category in another category.

Please note, category description pages are not designed to carry general content - they do not get counted in article statistics, and will not be found via many Special pages.

How do I create subcategories?
A category becomes a subcategory when you edit the category description page to add a Category tag for a "higher level" category. There is no limit to the number of subcategories a category may contain, or to the number of levels of categories. It is possible (though rarely desirable) to create category "loops".

The root category on most wikis is called . It is good practice to build a complete Category Tree, ensuring that all categories on your wiki have a place as subcategories of Category:Browse or its descendants.

How do I link to a category page?
To create an internal link to a category page without placing the edited page into the category itself, you must put a colon before the word "Category":

Can I redirect a category to another category?
No - while redirecting a category is technically possible, it will not re-classify articles properly. What you can do is add a notice (such as Wikia:Template:Category redirect) to inform users that a different category name should be used. You may then delete the old category once all the pages it contains have been edited to use the new category. However, if anyone might unknowingly try to re-create the "wrong" category, the template should remain in place for ever.

Where can I see the currently used categories?
You can see a list of all currently used categories for each Wikia at Special:Categories. This list also displays how many pages are within each category.

You can reach this page by clicking the word "Categories" at the beginning of the box at the bottom of any categorized article, or by clicking "Special pages" in the sidebar.

Category Tree
Special:CategoryTree is an alternate way to display the contents of a category. It can be transcluded in other pages. See mw:Extension:CategoryTree for details.

The extension also adds the ability to expand subcategories on a category page, allowing you to see further subcategories.