The Sims Wiki:Categorization: Difference between revisions

m
no edit summary
imported>A morris
(Created page with '{{Proposed policy}}{{Policy-nav}} This page contains guidance on the proper use of the '''categorization''' function in {{SITENAME}}. For information on the mechanics of the fun...')
 
imported>LostInRiverview
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{Proposed policyPolicy|guideline}}{{Policy-navMoS navigation}}
 
This page contains guidance on the proper use of the '''categorization''' function in {{SITENAME}}. For information on the mechanics of the function, category syntax, etc., see '''[[Help:Category]]'''. For the category system itself, see [[:Category:Browse]].
Line 22:
Pages are not placed directly into every possible category, only into the most specific one in any branch. This means that if a page belongs to a subcategory of C (or a subcategory of a subcategory of C, and so on) then it is not normally placed directly into C.
 
Every {{SITENAME}} article should belong to at least one category and it should be clear from verifiable information in the article why it was placed in each of its categories. Categorize articles by characteristics of the topic, not characteristics of the article. An article about a the architecture of specific lot, for example, does not belong in [[:Category:Architecture]].
 
Articles on fictional subjects should not be categorized in a manner that confuses them with real subjects. For example, [[:Category:Games]] is for real life games while [[:Category:Game objects]] is the category of in-universe games.
Line 33:
 
Often an article and a topic category will share the same name or occasionally similar names referring to the same thing. Such a category is called an eponymous category. Usually the article itself will be a member of the category (and should be sorted to appear at the start of the listing, as described below under Sort keys).
 
== Subcategorization ==
 
Subcategories may have two or more parent categories. For example, [[:Category:Riverblossom Hills families]] should be in both [[:Category:Families infrom Seasons (The Sims 2)]] and [[:Category:Families by neighborhood]]. When making one category a subcategory of another, ensure that the members of the first really can be expected (with possibly a few exceptions) to belong to the second also. Category chains formed by parent-child relationships should never form closed loops. If two categories are closely related but are not in a subset relation, then links between them can be included in the text of the category pages.
 
Although there is no limit on the size of categories, a large category will often be broken down ("diffused") into smaller, more specific subcategories. For example, [[:Category:Premade families]] is broken down by families into the subcategories [[:Category:Goths]], [[:Category:Altos]], etc.
 
A category may be diffused using several coexisting schemes; for example, [[:Category:Sims]] is broken down by age, by state, by gender etc. Metacategories may be created as ways of organizing schemes of subcategories. For example, the subcategories called "''life stage'' Sims" are not placed directly into Category:Sims, but into the metacategory [[:Category:Sims by age]], which itself appears in Category:Sims.
 
== Sort keys ==
Line 52 ⟶ 60:
* Use a space as the sort key for an article matching an eponymous category, or for a key article for the category. For example, the article [[Skill]] includes the category sort key <nowiki>[[Category:Skills| ]]</nowiki>. This places the article at the start of the listing for that category. (Note: if the key article should not be a member, simply list it in the category text itself.) Typically, these eponymous categories are listed first even if they do not appear first in alphabetical order.
* Use other sort keys beginning with a space (or an asterisk or a plus sign) for any "List of ..." and other pages that should appear after the key article and before the main alphabetical listings. The same technique is sometimes used to bring particular subcategories to the start of the list.
 
== Subcategorization ==
 
Subcategories may have two or more parent categories. For example, [[:Category:Riverblossom Hills families]] should be in both [[:Category:Families in Seasons]] and [[:Category:Families by neighborhood]]. When making one category a subcategory of another, ensure that the members of the first really can be expected (with possibly a few exceptions) to belong to the second also. Category chains formed by parent-child relationships should never form closed loops. If two categories are closely related but are not in a subset relation, then links between them can be included in the text of the category pages.
 
Although there is no limit on the size of categories, a large category will often be broken down ("diffused") into smaller, more specific subcategories. For example, [[:Category:Premade families]] is broken down by families into the subcategories [[:Category:Goths]], [[:Category:Altos]], etc.
 
A category may be diffused using several coexisting schemes; for example, [[:Category:Sims]] is broken down by age, by state, by gender etc. Metacategories may be created as ways of organizing schemes of subcategories. For example, the subcategories called "''life stage'' Sims" are not placed directly into Category:Sims, but into the metacategory [[:Category:Sims by age]], which itself appears in Category:Sims.
 
== Content of category pages ==
Line 81:
 
=== Images ===
{{See also|The Sims Wiki:Image guidelines#Categorization}}
Category tags can be added to image pages too. Images are not included in the count of articles in the category, but are displayed in a separate section with a thumbnail and the name for each. A category can mix articles and images, or a separate image category can be created. An image category is typically a subcategory of the general category about the same subject, and a subcategory of the wider image category, [[:Category:Images]]. To categorize a new image when uploading, simply add the category tag to the upload summary.
 
Line 90:
Similarly, user subpages that are draft versions of articles should be kept out of content categories. If you copy an article from mainspace to userspace and it already contains categories, remove them or comment them out. Restore the categories when you move the draft back into the article space.
 
== Categorization using templates ==
[[Category:Policies and guidelines|{{PAGENAME}}]]
Many [[The Sims Wiki:Templates|templates]] include category declarations in their transcludable text, for the purpose of placing the pages containing those templates into specific categories. This technique is very commonly used for populating certain kinds of ''project'' categories, including stub categories and maintenance categories.
 
However, it is recommended that articles should not be placed in ordinary ''content'' categories using templates in this way. There are many reasons for this – editors cannot see the category in the wikitext; removing or restructuring the category is made more difficult (partly because automated processes will not work); inappropriate articles and non-article pages may get added to the category; sort keys may be unavailable to be customised per category; ordering of categories on the page is less controllable.
 
When templates are used to populate project categories, ensure that the code cannot generate nonsensical or non-existent categories, particularly when the category name depends on a parameter. Also, see [[Wikipedia:Category suppression|Category suppression]] for ways of keeping inappropriate pages out of template-generated categories.
 
Category declarations in templates often use <nowiki>{{PAGENAME}}</nowiki> as the sort key, particularly if they are designed to be placed on talk pages, as this suppresses the ''Talk:'' prefix. Note that this overrides any DEFAULTSORT defined on the page.
 
==Redirected categories==
Because of software limitations, ordinary (hard) [[Help:Redirect|redirects]] should ''not'' be used with category pages. If a category name needs to be redirected to another, use the {{tl|move}} template to create a '''soft redirect'''. A [[The Sims Wiki:Bot|bot]] traverses categories redirected in this manner, moving articles out of the redirected category into the target category.
 
== See also ==
* [[The Sims Wiki:Manual of Style]]
* [[Help:Category]]