FANDOM


The information at the bottom of the page is provided automatically by Wikia. These instructions supplement Wikia's help.

Adding categories

When you are adding a category to a page, it is recommended to click on Add category at the bottom of the edit window rather than typing in the category by hand (as described in "Using Wikitext source mode"). Using the Add category button will allow the wiki to suggest existing categories which can save you time.

For example, if you want to add the category "Images from Bad Boy", you would only need to type Images from B and then wait for the category suggestions to appear. You can then click on the full category name and it will be completed for you.

This is especially useful for longer categories like "Images from Adventures in Rufus-Sitting". Using this method also prevents duplicate categories from being created if you misspell a category. Example: typing "Images from Adventures In Rufus-Sitting" instead of "Images from Adventures in Rufus-Sitting". The duplicate categories would have to manually be cleaned up by an administrator.

Namespaces

When editing some pages outside the main namespace, it may be necessary to manually type in any categories as the Add category button may not appear at the bottom of the edit window. Pages outside the main namespace have a prefix such as "Help:", "Category:" and "Template:".

For more information about namespaces, see Help:Namespace.

Category layout

All wikis have the Category Tree page so that you can see which categories are a part of another category. The categories on the Kim Possible Wiki have been organized so that they all flow down from the main Browse category.

To see how the categories relate to each other, go to Browse category page and click on the [+] next to them. The number in parentheses shows how many subcategories a parent category has. Each category's page provides a description of what that category is for.

There are some organizational categories like Category:Episode images that contains all of the "Images from" categories. These parent categories were created to overcome a limitation of the wiki software. The wiki will display the first 200 items in a given category and will only display subcategories that are a part of those 200 items. If a subcategory is not listed that you know exists, you may need to click on "next 200" or "previous 200" to see more items and more subcategories.

Missing categories

To see a list of categories that have been linked to on a page but have not yet been created, check the Wanted categories page.

To see a list of categories that have been created but do not have any pages or subcategories added to them, check the Unused categories page.

Both of these pages are updated by the wiki software every few days. Any updates to the categories listed on them will not change the list until the next time the wiki software performs its maintenance.

For both the wanted and the unused categories, a decision should be made as to whether it is worthwhile to have that category. The Wanted categories page will list the number of "members" (how many pages link to the category). If neither would be used much, the category or the link to that category should be deleted.

Categories inside of templates

When creating a template, special steps must be taken for any categories associated with that template. By default, categories in a template will be applied to any page that the template appears on. This is called "transclusion".

For example, if a template had the Songs category and the Users who support Josh category on it and the template was placed on a user's page, that user's page would be added to both categories. The Songs category would not be correct because it is a personal page and not a song page.

To prevent a category from being applied to pages where the template will be used, wrap it in the NOINCLUDE command. Example:

<noinclude>[[Category:Songs]]</noinclude>

Updating category data

Even after a category in a template has been fixed, any pages that are a part of that category will not automatically be updated. They will continue to be a part of that category until the next time they are edited.

If there are a large number of pages that need to have their category data refreshed, contact an administrator with the request. A bot can be employed to automate the update.

As stated below in the "Can I redirect a category to another category?" section of Wikia's help, redirecting one category to another will not affect any pages in that category. Contact an administrator so that a bot can be used to properly update the category for those pages. The old category will be deleted after the changes have been made.



 

CategoriesUnfurled

Categories seen at the top of the page, including a view of the drop-down when you click on "more"

A category is a group of pages that are in some way similar enough to group together. Maybe the category speaks to function on your wiki — such as templates, images or users. Or maybe it describes something about the page content, like characters, books, or locations. You can add a category link to any page, and it will automatically be listed on a category page with other similarly-linked pages.

In other words, categories are structural, navigational tools. And they can be found in the article header and at the bottom of the page.

Why categories are important

Categories help organize the community and make it easier for readers to find related content. Ideally, every wiki page should be in at least one category. Since categories can be within other categories, you can start to build a structure — a "category tree" — which lets your readers move around your site. For example, a person might start on a page in Main characters, then move up to Characters, then move back down again to Minor characters and then on to Minor characters from season 7. They're able to do this because Main characters acts as the trunk of a tree on which the branches of the other categories about characters are hung.

Aside from these navigational uses, proper categorization is crucial to a number of other processes, like:

These and other features won't work as well if your wiki's category structure is weak.

Adding a page to a category

To add a category, begin by going to the page you wish to categorize. Then use either the category module at the bottom of the page, or an editor, to add your category.

From the category module

CategorySelect suggest

Adding a category via the category module. Note how existing categories are suggested to you.

Use the category module, and you don't have to open an editor. Just go to the bottom of the page, where the existing categories are.

  • Click on the Add category button, and start typing in a category name.
  • You can use an already-established category (suggestions will appear as you type) or add a new one.
  • Once you are done, hit save and the category will appear on the article.

If you would prefer not to use this ability, you can disable it by going to your personal preferences. Once there, click on the Editing tab, check the box next to Disable Category module and then save your preferences.

While editing

How you add categories while editing depends on which of our three editors you choose to use:

VisualEditor

VECatLocation

In VisualEditor, first find the dropdown menu in the upper right

VECatSuggest

In the VisualEditor, these are some of the categories that are suggested on a page about Rey from Star Wars.

In the VisualEditor you first have to click on the dropdown menu to the left of the Cancel button and pull down to Categories.

Once you're in the Categories dialogue box, enter a category into the top field. Existing categories will show up as you type in more letters. You can then just select from that list.

If you want to change the way the page is sorted, you can do that in the second field. Most of the time, you'll probably go with the default — which is just the way the title naturally appears. But for people, you might want to sort by last name. So if the page is named Charlie Brown, you might enter Brown, Charlie in that second box.

Once you've got things how you want them, click on Apply changes. This only makes the category a part of your potential edit, though.

To publish the change to the live page, click on Save page when you're returned to the main editing pane of the VisualEditor.

Classic rich-text editor

Adding category edit mode

Adding, removing or editing a category from the editor

On the right hand side of the editor is a Categories module. Click to expand this and you will see a list of the categories already present.

  • To add a category, type the category name in the input area above the existing categories. As you type, you will see suggestions appear.
  • Click the pencil next to each category to edit that category's settings.
  • Click the trash can to remove the category.

Source editor

While in source, you can add the category name as a link to the bottom of the page itself (e.g. [[Category:Help]]), or use the category module in the right rail.

By default, exiting categories appear in the category module in the right rail. However, if you choose to disable the category module in your preferences, they do appear at the very bottom of the page.

Sort parameters

  • When clicking the edit icon next to category names, you can define a "sortkey" for that category. This sortkey defines at what point the article appears in a category page's listings, e.g., sort a first last name page under last name.
  • If an article example is the introduction for category example, a blank (space) or * (asterisk) sortkey puts it near the begin of the category.
  • If the article is in many categories, you can add {{DEFAULTSORT:<sort key>}} in the article while editing in source mode to sort the article in all the categories the same way. This will save you from having to edit each category's parameters individually.

Category pages matter

Categorical Pseudo-existence

When pages are in a category that hasn't been fully created

As soon as you add a category to a page, that category will appear in Special:Categories. And you can reach the category page by clicking on the category link, or by entering the address into your browser. So the category sort of works.

But, as you can see from the picture at the right, the category page still needs to be created. Until it exists, the category is partially powerless. It won't be suggested when you try to add it to another page. You can't use it on a Mobile Main Page. And it's not a full member of your Special:CategoryTree.

So take the time to fully create your categories.

Creating a category page

Because categories without category pages aren't suggested, you'll save yourself a lot of time if you create a category before you put a single page into it.

To do this, start a new page — called Category:Name — in any of our editors. Add a sentence or two which explains what the category is about. Then add the page to another category that has already been created.

For instance, let's say your wiki is about the Marvel Universe, and you're starting a category about female heroes in the Marvel Cinematic Universe (aka Earth-199999). So you create the category Female superheroes (Earth-199999) by adding the text:

Female superheroes of Earth-199999 came from every part of that Earth, exhibiting a wide range of powers, both meta—human and mortal. This category collects pages on this wiki about them, as well as many images and videos featuring their exploits.

Then you add it to Category:Earth-19999 and hit Publish.

This step is crucial, because once you publish a category page, it then will be usable by the category module. That is, it will appear as an auto-suggestion when you try to add it to other pages.

It will also be usable by all bots, DynamicPageList, the Help:Mobile Main Page, and other features.

While a description of the category is optional, it does help your wiki's SEO to add a brief summary of the category.

Deleting a category

To delete a category, first remove the category tag from all pages in the category as described above.

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.

A category page that has not been created will display the "Create" button in the top right corner of the page. In this case, the category listing can be deleted simply by removing it from all pages it was on. The category will then no longer appear in the list of categories (Special:Categories) and is fully deleted.

Category page layout

For registered users, there are three different layout options. The layout you see upon arrival at a category page can be set in your preferences. Once there, open the My Info tab, scroll down to the Appearance section, use the drop-down next to Category page layout to select the default layout, and save your preference changes. While viewing a category page, registered users can switch between layout options by using the layout buttons in the top-right corner of the page.

Anonymous users are shown the dynamic categories layout and cannot switch layouts.

If the category page has been created, the page content specified while creating/editing the category page will be displayed first; above the auto-generated content. The following subsections describe the auto-generated content.

Classic Categories

The first section is an image gallery featuring up to eight of the most popular pages from the category. The images are arranged in rows with as many as four images per row. Each image serves as a link to its respective page.

The second section is a list of subcategories and the third section is a list of pages. The layout of the lists are similar to each other. If a list has no items to display, its section is not displayed. The sections contains a count of the total number of list items and a list of up to 200 items. If there are more than 200 items in the list, links to view the next/previous items will be placed both above and below the list. The list is organized into as many as three columns and sorted alphabetically by sortkey. If the CategoryTree extension is enabled (it should be by default), the subcategory list will display each item as a category tree instead of a link to the category page.

Category Gallery

By default, all categories on Fandom 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 suitable graphics, then the first few lines of text will appear. Suitable images must be:
    • Larger than 130px by 115px
    • Used ten or fewer times on the wiki in content namespaces
    • Not an SVG
  • If you have a community where this display does not work well, you can add the expression __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

CatExhibitionSample

A category with Category Exhibition enabled.

Category Exhibition is an optional display method for category pages. It can be turned on in your account preferences.

  • In the exhibition image mode, every page in the category is displayed as an image with a link. Images can be displayed in alphabetical or most visited 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.

Dynamic Categories

The first section is an image gallery similar to the one used by the classic categories layout. Although similar in layout, the galleries may feature different pages due to a difference in selection criteria. The gallery for dynamic categories cannot be disabled.

The second section contains a count of the total number of list items and a list of up to 200 items. The list contains both subcategories and pages sorted alphabetically by sortkey. The list is organized into two columns and, where possible, each item contains an image from its respective page. Above the list is a series of links that allow the viewer to skip to a specific letter in the alphabet. Below the list, next and previous buttons are displayed.

Further reading

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.