Categorization

Categories: Categorization Help | WikiTree Help

Here's how to categorize a profile. If you're not sure what categories are or why you'd want to use them, see the Category FAQ. To get actively involved, see Project: Categorization.

Contents

How to Categorize

To categorize a profile simply click to the profile's edit page and enter something like this in the bio/text section:

[[Category: Madisonville, Louisiana]]
[[Category: Madisonville Cemetery, Madisonville, Louisiana]]

To see this example in action, view the edit page for Baham-126.

This puts Baham-126 in these two categories:

  1. Category: Madisonville, Louisiana
  2. Category: Madisonville Cemetery, Madisonville, Louisiana

If you need more help, you might want to see this Google Doc on "Adding your First Category" created by a member.

Examples

Here are examples of ways to categorize the profiles of your family members and ancestors.

Search or browse the category hierarchy to find ones that are right.

Be sure to use the narrowest category possible. That is, always put a profile is the most-specific, lowest-level category you can. For example, it is better to put a profile in [[:Category: Madisonville, Louisiana]] than [[:Category: Louisiana]].

Advanced Categorization

Here are more advanced topics for when you're ready to go beyond the basics.

Categorizing categories

Categories can be categorized too. This create a hierarchy of subcategories such as:

Categorizing a category works the same as categorizing a profile. For example, on the edit page for Category: Madisonville, Louisiana you will see:

[[Category: St. Tammany Parish, Louisiana]]

On the edit page for Category: St. Tammany Parish, Louisiana you will see:

[[Category: Louisiana]]

Adding new categories

If you categorize enough profiles you'll end up using some categories than nobody has used before. You'll need to add them.

You'll know it's a new category if after you enter it in a bio and save your changes, the link on the profile is red like this:

Categories: Looisiana

To add the new category you simply have to add it to the category hierarchy. For example, you could click on the red link for Looisiana and enter this:

[[Category: Younited States of America]]

The hard part about adding categories, of course, is knowing whether it really should be added. Maybe you're just using the wrong category name, e.g. Category:Loosiana instead of Category:Louisiana.

Everybody on WikiTree needs to be using the same category names. This is very important and it's harder than it may sound. We need to all agree, for example, to use Category:United States of America rather than Category:United States, Category:USA, Category:US, etc., etc.

Before creating a new category, carefully search or browse the category hierarchy. Then consider the standards on Category Names. Rather than trying to do it on your own, you may want to ask a question in G2G using the tag categorization.

If you'd like to help with the challenging but rewarding task of developing our category hierarchy, please join the Categorization Project.

Removing categories

A category exists if:

  1. any profiles are categorized using the category name, or
  2. the category page is categorized in the category hierarchy.

For example, Category:Loosiana exists if you:

  1. add [[Category:Loosiana]] to a profile, or
  2. add [[Category:United States of America]] to Category:Loosiana.

Therefore, to remove Category:Loosiana you just have to:

  1. remove [[Category:Loosiana]] from all profiles, and
  2. remove [[Category:United States of America]] from the Category:Loosiana page, and

If you feel that others will make the same mistake by using the same bad category name, add Template:Misnamed Category to the improper category page. For example, you would add {{Misnamed Category|Louisiana}} to Category:Loosiana.

Note: Once a category or page has been edited the link to it will no longer be red, even if the page is empty and unused. That's because it now has a change history that will appear in activity feeds. This doesn't matter.

Linking to categories

If you put [[Category:Louisiana]] inside a biography the profile will be categorized in Category:Louisiana.

What if you just want to link to Category:Louisiana? Simply include a colon before the word Category in the link. For example:

John is from [[:Category:Louisiana|Louisiana]].

See Adding Links for more on linking.

Changing the sort order

Items in a category are automatically sorted alphabetically, but sometimes that isn't ideal. For example, all pages with the Project: prefix will be sorted under P. All Free-Space Profiles will be sorted under S because of the Space: prefix.

To change that, you just need to add a "sort key" to the category tag on the page you're categorizing.

For example, let's say you want Project:Categorization to be listed in Category:Projects but under C, not P. Instead of putting the usual [[Category:Projects]] on this page, use [[Category:Projects|Categorization]]. The part after the pipe (|) is the sort key that specifies what the page should be sorted as in that category.

Adding images to categories

1. Upload the picture to somewhere on WikiTree, e.g. to a Free-Space Profile. Note that you will need to leave the image connected to this profile. All images on WikiTree need to be associated with a profile. If you remove it from the profile it will be removed from WikiTree.

2. Find the name of the image. This can be found by clicking on the image to get to its details page, and then looking in the changes section. For example, the edit page for the Canadian flag is here. In the changes section, you can see that the name of the file is Flags-1.png.

3. Once you have that file name, you just need to use the Image template in the format {{Image|file=Flags-1.png}} to display the image anywhere.

4. To change the size of the image (the originals are often huge), use the size parameter of the Image template, for example, {{Image|file=Flags-1.png|size=50}}. Size=50 makes a little thumbnail, as used in the project boxes. The bigger the number, the bigger the photo, but there is a point at which it won't look good. You'll probably need to play around to figure out what works best for the pictures you are adding. For example, you could paste this into your category:

{{Image|file=Flags-1.png|size=400}}
See Template:Image for the other parameters you can use with images: changing the image's alignment, adding a caption, or a label that displays when the mouse is over the image.


This page was last modified 15:19, 29 April 2016. This page has been accessed 21,486 times.