Wookieepedia's category policy defines how and when to use categories, which are a type of navigational tool. On Wookieepedia, they are implemented via the MediaWiki software and serve group pages together and help structure the site, making it easier to use and explore. In cases of disagreement, the Trash compactor may be used to propose restoration, deletion, and merging of categories. While categories for posts on Discussions also exist, this policy only pertains to categories used on the wiki part of Wookieepedia.
General rules
- Every article must have all applicable categories.
- Categories should be listed in alphabetical order.
- Categories should be placed at the very bottom of articles, as mandated by the Layout Guide.
- Moving a category will only move the category page, meaning that any pages in the old category will still need to be recategorized into the new one.
- It is advised to seek input on the Senate Hall or in the Discord before renaming or otherwise altering a highly used category to ensure no unintentional adverse effects occur and to gather opinions on the matter.
- MediaWiki allows use of the DEFAULTSORT magic word to eliminate unnecessary coding while still achieving the desired result of categorizing articles by last name (ie, one need not use [[Category:Humans|Ley, Jenneh]]; see example under "How to insert categories").
- DEFAULTSORT is not needed for Real-world people articles, as it is embedded in {{Top}} instead. The
|sortkey=parameter can be used to define unique cases outside of the Top template's logic.
- DEFAULTSORT is not needed for Real-world people articles, as it is embedded in {{Top}} instead. The
- Articles beginning with an article ("a," "an," or "the") should be categorized by the first significant word; for example, [[Category:Reference books|New Essential Guide to Vehicles and Vessels, The]].
- Articles placed in categories should not also be placed in that category's parent category; for example, articles in Category:Aquatic sentient species should not also be placed in Category:Sentient species, and articles in Category:Star Wars television actors should not also be placed in Category:Star Wars actors.
- {{RelatedCategories}} is used to include a category in the category listing at the bottom of an article without actually including the article in that category. For example,
{{RelatedCategories
|[[Category:Toprawa locations]]
|[[Category:Toprawans]]
}}
can be included at the bottom of Toprawa. The planet is neither a location on itself nor a person, but including links to the two categories helps readers find related content. {{RelatedCategories}} should be placed below the actual categories.
- When one image and/or sound file on Wookieepedia originated from or features an article's subject, a corresponding category may be created, allowing for the implementation of {{Mediacat}} as mandated by the Layout Guides.
How to insert categories
Wookieepedia uses the built-in MediaWiki handling system for categories. We recommend you use the Source editor rather than VisualEditor (VE) while managing categories. This guide explains how to manage categories using Source editor.
Inserting a category
Insert the following code, replacing CATEGORYNAME with the name of the category you wish to add:
[[Category:CATEGORYNAME]]
Examples:
{{DEFAULTSORT:Ley, Jenneh}} [[Category:Females]] [[Category:Humans]] [[Category:Individuals with she/her pronouns]] [[Category:Jedi Masters during the High Republic Era]]
[[Category:Planets in the Outer Rim Territories]] [[Category:Rocky planets]]
Automatically generated categories
Certain types of categories are automatically generated by site features such as the {{Top}} template, maintenance and tracking categories, and header templates. The following list defines category groups that should not be added manually to an article under any circumstance; instead, they should be added onto the page by implementing the respective template or template parameter:
- Header template categories
- Example: Instead of adding Category:Articles with conjectural titles, add {{Conjecture}} to generate the relevant category. Other common header templates that automatically generate categories include {{Spoiler}} and its variants, {{Nickname}} for marking articles identified by a nickname, and {{Conflicting}} and its variants to mark articles with conflicting material—though this is by no means an exhaustive list, and the header template category should be referred to for a full list of applicable templates that generate their own categories upon addition.
- {{Top}} template categories are generated by adding parameters to an article's Top template, as defined on its template documentation. Examples of the types of categories generated by the Top template are provided below, though are by no means an exhaustive list, and the template documentation should be referred for all applicable cases.
- Example: Continuity categories such as Category:Canon articles and Category:Legends articles
- Example: Out-of-universe article type categories such as Category:Real-world people, Category:Real-world media, and Category:Real-world companies
- Example: Status article categories such as Category:Wookieepedia Comprehensive articles, Category:Wookieepedia Good articles, and Category:Wookieepedia Featured articles, as well as the associated former status article and probation categories
- Stub template categories
- Example: Category:Artist stubs or Category:Author stubs should be added via using {{Artist-stub}} and {{Author-stub}}, respectively.
- Protection-level categories such as Category:Semi-protected pages and Category:Super-semi-protected pages, which are added or removed via the Top template by administrators after protecting or unprotecting a page
- Any other category automatically generated by a template
Maintenance categories
Maintenance categories should never be added to pages manually, as they are all automatically generated.
- Example: Instead of adding Category:Articles needing illustration, add an {{Image}} template to the page, which will automatically add add the aforementioned category.
- File maintenance categories, which are automatically generated by file maintenance templates, should be added using their respective template. File maintenance templates should never be added onto mainspace pages; instead, the File page in question should host the maintenance template.
- Much of Wookieepedia's maintenance category tree is maintained or supported by bots. It is advised to seek input on the Senate Hall or in the Discord before renaming or otherwise altering a highly used maintenance category to ensure no unintentional adverse effects occur.
Infoboxes
- The following categories are automatically generated by infobox templates and thus should not be added manually to articles:
- Astronomical tracking categories, with the exception of infobox-less pages requiring manual addition as-needed
The above list may be automatically updated as-needed.
In-universe categories
Astronomical
- An astronomical object's type, physical characteristics, and location should be categorized separately, with the exception of the major galactic regions. For example, all planets that are located within the Expansion Region should be placed directly in Category:Planets in the Expansion Region, while any planets whose galactic region is unknown should be placed in the top-level Category:Planets.
- When categorizing locations by sector, system, hyperlane, and other more specific groupings, such categories should not be combined with the astronomical object type or the physical characteristics of the location. For example, planets in the Coruscant system should be placed in Category:Planets in the Core Worlds and Category:Coruscant system locations, rather than a "Coruscant system planets" category. Similarly, physical-characteristic categories such as Category:Gas giants and Category:Waterworlds should not be subcategorized by galactic region or other location, or by the intersection of multiple attributes, i.e. rocky planets with Type I atmospheres.
- For a given astronomical object, the article should be placed in the relevant <Object Type>s in <Region> categories for all applicable regions in Category:Galactic regions, with a few exceptions. As an example, Kashyyyk is located in both the Mid Rim and the Slice, and thus is placed in Category:Planets in the Mid Rim and Category:Planets in the Slice. However, astronomical objects in the Arrowhead and Hutt Space should exclude the categories for the Slice, as they are subregions of the Slice that fall completely within it but are still considered major galactic regions. Similarly, objects in the Deep Core should exclude the categories for the Interior, as it falls entirely within the Interior.
- Locations within a given sector should be placed in a corresponding Category:<Sector Name> locations category, unless a dedicated system location category exists, as indicated below. The sector category should be placed in the appropriate Category:<Region> locations category, as well as the parent Category:Locations by sector category.
- When a star system contains numerous locations, a Category:<System Name> locations category should be created, and placed in the Category:Locations by star system parent category as well as the appropriate sector and route locations categories; if no sector is known for the system, it should be placed in the appropriate region locations category instead.
- Additionally, the following rules apply:
- When a dedicated system category exists, the relevant location categories should be applied to the system category and not individual locations in the system. For example, Ord Mantell should be listed in Category:Bright Jewel system locations, but not in Category:Bright Jewel sector locations or Category:Locations along the Celanon Spur, as the Bright Jewel system locations category is a subcategory of both the sector and route categories.
- The top-level Category:Locations by region categories should only be used on individual articles when the subject is known to be located within that region, but it is not known to be an astronomical object or a structure, and it has not been placed within a particular sector. If the sector or system is known, the article should be placed in that sector or system locations category instead if one exists. If it is known to be an astronomical object or structure, it should be placed in the appropriate Category:Astronomical objects by location or Category:Structures by region category.
- Grid square categories and the other astronomical tracking categories that are applied by infoboxes automatically based on the infobox's fields should not be manually applied to articles, with one exception: if the infobox would otherwise be empty aside from the name field, an infobox should not be used, and the relevant tracking categories should be applied to the article. See {{AstroCategoryDoc}} for documentation on these categories and the criteria for their application.
Out-of-universe categories
- Categories for actors by role may be created if there is a minimum of 2 articles to be placed in it. These should be named as
[[:Category:Actors who have portrayed CHARACTER NAME]], in which CHARACTER NAME should reflect the page name of the corresponding character. However, if an audiobook narrator does not provide unique voice acting for character dialogue, they should not be included in the respective portrayal category for that character.
File categories
Per the Files policy, all files should be categorized by source, subject, artist, and type within the {{Information}} template.
Index categories
Index pages should be categorized by continuity using Category:Canon index pages, Category:Non-canon index pages, Category:Legends index pages, Category:Non-canon Legends index pages. Out-of-universe index pages should have the Category:Real-world index pages added.
User categories
- Per the user page and profile policy, categories outside the Wookieepedians category tree may not be added to user pages or subpages and are subject to bot or administrator removal.
- Per the signature policy, user signatures may not have categories.