Difference between revisions of "NetHackWiki:Categories"
(→List of categories: adding Category:Spoiler files) |
(Update to show current categories; describe how to use sortkeys.) |
||
Line 6: | Line 6: | ||
By convention, categories are named like articles, except that they tend to be plural nouns. | 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: | ||
+ | |||
+ | * <code><nowiki>[[Category:Potions|Enlightenment]]</nowiki></code> | ||
+ | * <code><nowiki>[[Category:Potions|See invisible]]</nowiki></code> | ||
=== List of categories === | === List of categories === | ||
− | Current categories include | + | Current categories include the following. There might already be new categories that are not in this list. |
* [[:Category:Articles]] ''root category for everything and miscellaneous'' | * [[:Category:Articles]] ''root category for everything and miscellaneous'' | ||
− | ** [[:Category:Acronyms]] ''acronyms | + | ** [[:Category:ASCII]] ''for [[ASCII]] characters'' |
+ | ** [[:Category:Acronyms]] ''acronyms and initialisms, mostly redirects'' | ||
** [[:Category:Attributes]] ''for [[attribute]]s'' | ** [[:Category:Attributes]] ''for [[attribute]]s'' | ||
** [[:Category:Dungeon features]] ''for [[dungeon feature]]s'' | ** [[:Category:Dungeon features]] ''for [[dungeon feature]]s'' | ||
+ | ** [[:Category:Gods]] ''for [[god]]s'' | ||
+ | ** [[:Category:Intrinsics]] ''for [[intrinsic]]s'' | ||
+ | ** [[:Category:Items]] ''for all [[item]]s and [[object]]s'' | ||
+ | *** [[:Category:Amulets]] | ||
+ | *** [[:Category:Armor]] | ||
+ | *** [[:Category:Artifacts]] | ||
+ | **** [[:Category:Artifact weapons]] | ||
+ | *** [[:Category:Comestibles]] | ||
+ | *** [[:Category:Potions]] | ||
+ | *** [[:Category:Rings]] | ||
+ | *** [[:Category:Scrolls]] | ||
+ | *** [[:Category:Spellbooks]] | ||
+ | *** [[:Category:Tools]] | ||
+ | *** [[:Category:Wands]] | ||
+ | *** [[:Category:Weapons]] | ||
** [[:Category:Monsters]] ''for [[monster]]s'' | ** [[:Category:Monsters]] ''for [[monster]]s'' | ||
+ | *** [[:Category:Unique monsters]] ''for [[Asmodeus]], [[Famine]], ...'' | ||
+ | ** [[:Category:Roles]] ''for player [[role]]s (classes)'' | ||
** [[:Category:Source code]] ''for annotated [[source code]]'' | ** [[:Category:Source code]] ''for annotated [[source code]]'' | ||
+ | ** [[:Category:Spells]] ''for the effects of [[magic]]'' | ||
+ | ** [[:Category:Slash'EM]] ''for things added to [[SLASH'EM]] but not in [[vanilla]]'' | ||
** [[:Category:Spoiler files]] ''for preserved [[spoiler]] texts'' | ** [[:Category:Spoiler files]] ''for preserved [[spoiler]] texts'' | ||
+ | ** [[:Category:Strategy]] ''for strategies: [[boulder fort]], [[nurse dancing]]...'' | ||
** [[:Category:Websites]] ''for articles about websites'' | ** [[:Category:Websites]] ''for articles about websites'' | ||
** [[:Category:Wikihack]] ''for managing this [[wiki]]'' | ** [[:Category:Wikihack]] ''for managing this [[wiki]]'' |
Revision as of 18:04, 30 May 2006
NetHackWiki |
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.
- Category:Articles root category for everything and miscellaneous
- Category:ASCII for ASCII characters
- Category:Acronyms acronyms and initialisms, mostly redirects
- Category:Attributes for attributes
- Category:Dungeon features for dungeon features
- Category:Gods for gods
- Category:Intrinsics for intrinsics
- Category:Items for all items and objects
- Category:Monsters for monsters
- Category:Unique monsters for Asmodeus, Famine, ...
- Category:Roles for player roles (classes)
- Category:Source code for annotated source code
- Category:Spells for the effects of magic
- Category:Slash'EM for things added to SLASH'EM but not in vanilla
- Category:Spoiler files for preserved spoiler texts
- Category:Strategy for strategies: boulder fort, nurse dancing...
- Category:Websites for articles about websites
- Category:Wikihack for managing this wiki
- Category:Candidates for deletion
- Category:NGPL for content from NetHack itself
- Category:Rodney for content from Rodney
- Category:Stubs for pages marked {{stub}}
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
- All pages (Category namespace)
- Special:Categories list of all categories