Help:Categories: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updated magic word link)
(→‎See Also: added Category:Hidden categories)
Line 13: Line 13:


==See Also==
==See Also==
*[[:Category:Hidden categories]] - Hidden categories.
*[[Special:Categories]] - Lists all categories.
*[[Special:Categories]] - Lists all categories.
*[[Special:CategoryTree]] - Insert a category and this will return categories included under it, categories this one is included under, and the pages in this category. Basically, it's visiting a category page but without actually visiting it.
*[[Special:CategoryTree]] - Insert a category and this will return categories included under it, categories this one is included under, and the pages in this category. Basically, it's visiting a category page but without actually visiting it.

Revision as of 23:42, 31 July 2018

Help:Editing

Stub

This article or section is a stub. You can help by expanding it.

Categories are pages that group together pages which share similar purposes, subjects or other qualities. To add a page to a category, add it as a link at the bottom of the page. Some templates may also assign categories when added to a page.

Hidden categories are just that; categories usually not displayed on a page. This is done only for maintenance categories, like Category:TODO. To mark a category as hidden, add the magic word __HIDDENCAT__ on that category's page. To make the website show hidden categories for you, check the Show hidden categories box in Special:Preferences.

If you want to simply link to a category on a page, put a : at the start of the page name, like this: [[:Category:Shaders]].

It may take some time for a page to appear or disappear from a category. Try adding ?action=purge at the end of the URL to nudge the server to do it faster. The wait time may be even longer if assigned through a template.

Sorting keys

A sort key allows you to change where in a category a page is listed. To change a page's location, simply add a | after the category name, and then specify where to put it. A sorting key can be as specific as needed. To make a page be categorized under the Es, just add |E. See Wikipedia:WP:SORTKEY for more information and uses.

See Also