Help:Categories: Difference between revisions

Content deleted Content added
Category tree: some more words.
expanded (link code issue about hiding categories from mobile users)
 
(22 intermediate revisions by 15 users not shown)
Line 1:
{{Short description|Collections of pages}}
{{pp-vandalism|small=yes}}
{{forFor|more extensive information for editors|HelpWikipedia:CategoryFAQ/Categories}}
{{For|information for [[Wikipedia:Wikipedians|editors]] on how to categorize a page|Help:Category|Wikipedia:Categorization}}
{{Information page|H:CATS}}
{{Reader help}}
'''Categories''' are used in Wikipedia to link articles under a common topic and are found at the bottom of the article page. Clicking the category name displays a list of articles in that category, asbelow wella aslist anyof sub-categories (''categories'' in that category) (if any). Categories allow readers to navigate through Wikipedia and find related articles.
 
Categories are not displayed in the [[Help:Mobile access|mobile version]] ([[phab:T24660]]). Mobile users can click "Desktop" at the bottom of a page to see the desktop version with categories. Registered users can enable [[:mw:Reading/Web/Advanced mobile contributions|Advanced mode]] which includes a "Categories" button.
 
[[File:Chicken Eyeglasses categories.png|center|thumb|900x900px|The bottom of the Wikipedia article [[Chicken eyeglasses]]. At the very bottom of the page, below the References, navigation templates and external links are a series of links. These links are the categories used on the page, which include: [[:Category:Animal welfare]], [[:Category:Animal equipment]], [[:Category:Eyewear]], and [[:Category:Poultry farming]]. By clicking on the category link at the bottom of the page, readers can navigate the Category tree (see below).]]
 
==Category tree==
All of the categories form a hierarchy, although sub-categories may be a member of more than one category. An example of a small part of this hierarchical structure islooks shownsomewhat like this:
 
----
{| align = "center"
|-
| rowspan=3| [[:Category:History]]
| rowspan=3| → [[:Category:History by ___location]]
| rowspan=3| → [[:Category:History by country]]
|-
| → [[:Category:History of Australia]]
| → [[:Category:History of New South Wales]]
|-
| → [[:Category:History of the United States]]
| → [[:Category:History of California]]
|-
|
[[:Category:Main topic classifications]]
|
|
| [[:Category:History of Zambia]]
| rowspan=3| [[:Category:History by ___location]]
| rowspan=3| [[:Category:History by country]]
| rowspan=3| [[:Category:History byof countryAustralia]]
| [[:Category:History of Australia by ___location]]
| → [[:Category:History of NewAustralia by state Southor Walesterritory]]
New South Wales, Queensland, etc.
 
|}
----
 
The actual relationship is more complex since a category may appear as a subcategory of several other categories. The actual relationship of part of the category structure looks like this:
 
[[File:Category-diagram.png|border|400px|center]]
 
The uppermost category in the hierarchy is [[:Category:Contents]]. From here all other categories branch out, including those that are used for the maintenance of Wikipedia.
 
If an entry in a category is shown in ''italics'' it is a redirect to an article of a different name or a section of an article that contains information about that particular subject.
 
{{-Clear}}
The uppermost category in the hierarchy is [[:Category:Contents]]. From here all other categories branch out, including those that are used for the maintenance of Wikipedia.
 
If an entry in a category is shown in ''italics'' it is a redirect to an article of a different name that contains information about that particular subject.
 
{{-}}
----
<inputbox>
Line 47 ⟶ 53:
</inputbox>
----
 
{{Wikipedia categorization navbox}}
 
[[Category:Reader help]]
[[Category:Wikipedia categorization|*]]