Help:Categorising
Categories, provide automatic indexes that are useful as tables of contents.
You can categorize pages and files by adding one or more Category tags to the content text. These tags create links at the bottom of the page that take you to the list of all pages in that category, which makes it easy to browse related articles.
Summary
Each of the pages in the Category namespace represents a so-called category, a grouping of related pages, and contains an index for the pages of its category. For example, this page belongs to "Category:Help". If you open the category page, you will see a link to this page there.
When a page belongs to one or more categories, these categories appear at the bottom of the page.
The category pages themselves contain 2 parts:
- at their beginning, an optional part may contain text that can be edited, like any other page,
at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. In fact, in the Unicode sort order.
- To assign a category to a page, simply add the link "[[Category:Category name]]" to the page's wikitext. The usual place to add it is at the bottom of the page.
To link a category page within a page as a normal wiki link (without adding the page to the category), prefix the link name with a colon. For example: Category:2003
A new category can be created before assigning any page to it, in the same way as any other regular page.
For a complete list of all categories which have at least one page, see Special:Categories.
For a complete list of all created/edited categories, including the ones that don't have any pages, see Special:Allpages/Category:.
Adding a page to a category
To add a page or uploaded file to a category, simply edit the page and add the following text (where Name is the name of the category you want to add it to).
[[Category:Name]]
Any number of Category tags may be added to the page and the page will be listed in all of them.
Creating a category page
Categories exist even if their page has not been created, but these categories are isolated from others and serve little purpose for organization or navigation.
A category is created by creating a page in the Category: namespace. A category page can be created the same way as other wiki pages (see Help:Wiki Handbook); just add "Category:" before the page title.
To avoid extra work, try searching within your wiki before creating a new category. The list of all categories can be found in "Special pages" in the "tools" box of the sidebar.
Managing the category hierarchy
Categories may belong to other categories in a hierarchy. Since category pages are much like any other page, a Category tag may be added to the bottom of a category page.
It is a good idea to organize all categories into a hierarchy with a single top level category. The category structure can take the form of a tree with separate branches, but more often will have a graph structure. Generally, there should be a contiguous chain of parent-child links between each category and the top level category.
Redirecting a category
Like normal wiki pages, category pages can be redirected to other normal or category pages. However, this is not recommended, as pages categorized in redirected categories do not get categorized in the target category
Editing Help | |
---|---|
Formatting | Tables · Editing Conventions · Formatting · Grammar · Visual Editor |
Media | Galleries · Creating GIFs · File Conventions · Images |
Navigation | Navigation · Categorising · Creating A Category · Links and References · Namespace |
Page Guides | Habbo Events · Fansites · Habbox Staff · Pets · Rares and Furni Items · Room Bundles · Sulake Staff · Furni Ranges and Campaigns Upcoming and unreleased |
MediaWiki | Habbox Wiki Handbook · Habbox Wiki Group Rights · MediaWiki Help Contents |