Difference between revisions of "NetHackWiki:Categories"

From NetHackWiki
Jump to navigation Jump to search
(List of categories: added new source code categories)
(List of categories: added lots of missing categories)
Line 31: Line 31:
 
*** [[:Category:Tournaments]]
 
*** [[:Category:Tournaments]]
 
*** [[:Category:Usenet]]  
 
*** [[:Category:Usenet]]  
 +
*** [[:Category:Utilities]]
 
*** [[:Category:Websites]]  
 
*** [[:Category:Websites]]  
 
** [[:Category:Development]] ''for C/UNIX/coding articles''
 
** [[:Category:Development]] ''for C/UNIX/coding articles''
Line 57: Line 58:
 
**** [[:Category:Traps]]
 
**** [[:Category:Traps]]
 
*** [[:Category:Dungeon branches]]
 
*** [[:Category:Dungeon branches]]
 +
**** [[:Category:Planes]]
 +
**** [[:Category:Quests]]
 
**** [[:Category:Sokoban]]
 
**** [[:Category:Sokoban]]
**** [[:Category:Planes]]
 
 
*** [[:Category:Special levels]]
 
*** [[:Category:Special levels]]
 
** [[:Category:Licenses]]
 
** [[:Category:Licenses]]
Line 68: Line 70:
 
*** [[:Category:Monster spells]]
 
*** [[:Category:Monster spells]]
 
*** [[:Category:Unique monsters]]
 
*** [[:Category:Unique monsters]]
 +
** [[:Category:Pets]]
 
** [[:Category:Religion]]
 
** [[:Category:Religion]]
 
*** [[:Category:Gods]]
 
*** [[:Category:Gods]]
Line 79: Line 82:
 
*** [[:Category:NetHack 2.2a source code]]
 
*** [[:Category:NetHack 2.2a source code]]
 
*** [[:Category:NetHack 2.3e source code]]
 
*** [[:Category:NetHack 2.3e source code]]
 +
*** [[:Category:NetHack 3.0.0 source code]]
 +
*** [[:Category:NetHack 3.1.0 source code]]
 +
*** [[:Category:NetHack 3.2.0 source code]]
 +
*** [[:Category:NetHack 3.3.0 source code]]
 +
*** [[:Category:NetHack 3.4.0 source code]]
 
** [[:Category:Spells]]
 
** [[:Category:Spells]]
 
** [[:Category:Strategy]] ''for strategies: [[boulder fort]], [[nurse dancing]]...''
 
** [[:Category:Strategy]] ''for strategies: [[boulder fort]], [[nurse dancing]]...''
 +
*** [[:Category:Cheating]]
 +
*** [[:Category:Conducts]]
 
** [[:Category:User interface]]
 
** [[:Category:User interface]]
 
*** [[:Category:ASCII]] ''for [[ASCII]] characters''
 
*** [[:Category:ASCII]] ''for [[ASCII]] characters''
Line 89: Line 99:
 
**** [[:Category:Extended commands]]
 
**** [[:Category:Extended commands]]
 
** [[:Category:Variants]] ''for variants of vanilla NetHack''
 
** [[:Category:Variants]] ''for variants of vanilla NetHack''
 +
*** [[:Category:NetHack brass]]
 +
**** [[:Category:Extended commands of NetHack brass]]
 
*** [[:Category:SLASH'EM]] ''for things added to [[SLASH'EM]] but not in [[vanilla]]''
 
*** [[:Category:SLASH'EM]] ''for things added to [[SLASH'EM]] but not in [[vanilla]]''
 
**** [[:Category:SLASH'EM items]]
 
**** [[:Category:SLASH'EM items]]
 
**** [[:Category:SLASH'EM monsters]]
 
**** [[:Category:SLASH'EM monsters]]
 +
**** [[:Category:SLASH'EM races]]
 
**** [[:Category:SLASH'EM roles]]
 
**** [[:Category:SLASH'EM roles]]
 
** [[:Category:Wikihack]] ''for managing this [[wiki]]''
 
** [[:Category:Wikihack]] ''for managing this [[wiki]]''

Revision as of 22:23, 28 September 2006


A category is an automatic list of existing wiki pages, useful to both wiki editors and readers; it is useful for exploring wiki pages that have already been created.

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". To move a page to a different category, edit the page and replace the [[Category:...]] tag with the one that you want to use.

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

Category descriptions

If you try to edit a category page, you will only be able to edit the category description that appears above the list of articles. To actually change the list of articles, you need to edit the individual articles and adjust their category links.

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