Recent changes Random page
GAMING
Entertainment
 
Star Wars
Star Trek
Transformers
Muppet Wiki
Digimon Wiki
Marvel Database
See more...

Help:Category

From Wookieepedia, the Star Wars wiki.

Jump to: navigation, search

Help:Contents

You can place an article in a category by adding the string [[Category:Example]] to the article's text (where Example is the name of the category). A list of categories may be found at Special:Categories.

The category feature has several functions:

[edit] Sort keys

All articles in a given category are sorted alphabetically. If you want an article to be sorted by something other than its name, you should use the following link form in the article's text: [[Category:Example|Sort key]] (where Example is the category name, and Sort key is the value to sort the list by).

For example, by default, the article Luke Skywalker will be listed under the character's first name, "L", because it is the first letter of the article's name. You could instead force the article to be listed by the character's last name ("Skywalker, Luke") by using the string [[Category:Humans|Sywalker, Luke]].

Remember that sort keys are case sensitive, with capital letters being sorted before lowercase letters. Therefore, Luke Skywalker would appear in the list before servomotor.

[edit] Conventions

  • When adding Human names (as well as those of other species) to a category, always sort by last name: for Luke Skywalker, use [[Category:Humans|Skywalker, Luke]]
  • On "list categories" such as Category:Planets, include additional "list articles" by prefixing the sort key with an asterisk: for List of planets, use [[Category:Planets|*]]. This way, these articles will appear at the beginning of the list.
  • Place categories in alphabetical order on seperate lines at the end of an article. The only thing coming after a category would be an inter-wiki link.
  • Do not place articles in redundant categories. For example, since Luke Skywalker is in Category:Individuals, the article does not go in Category:In-universe articles, as [[Category:Individuals]] is in that category itself. ==Linking to a category== In order to link to a category without the current article being added to that category, place a colon before the word "Category" inside the link. Example: <nowiki>[[:Category:Individuals]]

[edit] Sub-categories

Category pages may be added to other categories and are then recognized as sub-categories. For example, you could edit [[Category:Individuals]] and add the link [[Category:In-universe articles]]. The Individuals category would then be a sub-category of the In-universe articles category.

.