NetHackWiki:Categories

From NetHackWiki
Revision as of 18:04, 30 May 2006 by Kernigh (talk | contribs) (Update to show current categories; describe how to use sortkeys.)
Jump to navigation Jump to search


A category is an automatic list of wiki pages, useful mostly to wiki editors, but possibly also to readers.

To add a page to a category, put a link like [[Category:Articles]] at the bottom of the page. (You could put it anywhere, but the bottom is best.) To only make normal link, such as Category:Articles, use [[:Category:Articles]] with an extra colon before "Category".

By convention, categories are named like articles, except that they tend to be plural nouns.

Sortkeys

Each category page lists its pages in alphabetical order under first letter. It is possible to change this using sortkeys.

For example, normally everything in Category:Potions would be under "P", because all of the articles start with "potion of": potion of enlightenment, potion of see invisible, and the others. However, using sortkeys, we can put the potion of enlightenment under "E" and that of see invisible under "S". The following code belongs at the bottom of its respective article:

  • [[Category:Potions|Enlightenment]]
  • [[Category:Potions|See invisible]]

List of categories

Current categories include the following. There might already be new categories that are not in this list.

Only create a category page if the category contains at least one page or two subcategories, and if the category has the potential contain several pages or subcategories.

See also