Wikipedia:Category classification templates
A Classification is used on category pages to show the hierarchy of the category. For example, Category:Altos has this classification:
What are classifications used for?
Classifications have two main purposes:
- They help users understand how the category relates to other categories.
- They help users jump up to higher levels on the hierarchy. In the example above, you can jump all the way from Category:Altos to Category:Theatre with one click. Without the classification it would take five clicks.
How do you create a classification?
To create a classification, edit a category and insert links. The classification for Altos was created with this text:
- <center>'''Classification: '''[[:category:Theatre|Theatre]]: [[:category:Theatrical genres|Genres]]: [[:category:Opera|Opera]]: [[:category:Opera singers|Singers]]: [[:category:Singers by range|By range]]: '''Altos'''</center>
- <center>''also:'' [[:category:Music|Music]]: [[:category:Musical genres|Genres]]: [[:category:Opera|Opera]]: [[:category:Opera singers|Singers]]: [[:category:Singers by range|By range]]: '''Altos'''</center>
It looks like this:
Note:
- The links should be centered.
- "Classification:" should be bold.
- Use a colon to make a category appear as a link. If it doesn't appear when you preview, you forgot the colon.
- Remove redundant words from categories. For example: Singers instead of Opera singers.
- The last category, the one being edited, is also bold.
- IMPORTANT: Decide where to begin the hierarchy. There is a natural starting place for most hierarchies. You don't have to go all the way to Category:Categories. Pick a high level that is not distantly related to the category. Often, the high level will be at the bottom of several different higher level hierarchies. This is a good indicator of a natural starting place.
Can a category have multiple classifications?
Multiple classifications are possible. List the second one on the next line. Instead beginning the line with '''Classification:''' type ''also:''. You don't have to add a classification for every possible hierarchy. Sometimes, the hierarchy is just a link between different hierarchies.
For example: Category:African-American actors is part of the hierarchy under Category:African Americans. It is also a subcategory of Category:American actors. It is one of just a few sub-groupings under American actors (not all ethnicities are subcategories of American actors), and the entries are duplicated in both categories. This is because they are in effect just related categories. Instead of showing that connection as a classification, it might make more sense to just put a link such as See also: Category:American actors.
Using templates to classify categories
There are several templates to help classify categories (and more on the way). It is much easier to use a template than to set it up manually. Here are the templates that currently exist. See the discussion page for the template for examples of how to use them.
- Template:Fooian fooers - for people of a specified occupation from a specified country. Examples: Category:British architects and Category:German actors.
- Template:Fooian people - for people from a specified country. Examples: Category:Italian people and Category:Russian people
- Template:Nationality by occupation - for occupations from a specified country. Examples: Category:Japanese people by occupation and Category:Australian people by occupation.
- Template:Occupation by nationality - for nationalities for a specified occupation. Examples: Category:Screenwriters by nationality and Category:Essayists by nationality.
- Template:Fooian scientist types - for scientists of a specified type from a specified country. Examples: Category:Canadian botanists and Category:Dutch cartographers.
- Template:Scientist type by nationality - For scientists of a specified type organized by nationality. Examples: Category:Geologists by nationality and Category:Biologists by nationality.
- Templates used with Wikipedia user categories (see: Wikipedia:User categorisation).
- Template:Usercat - for Wikipedia Users of a specified nationality or region.
- Template:Usercat replacing - A variation of Template:Usercat with an extra message.
- Template:Usercat-1 - for Wikipedia Users of a specified nationality or region in a specified larger region.
- Template:UsercatUS - for Wikipedia Users of a specified state or territory of the United States.