Help:Categories

From Fanlore
(Redirected from Help:Category)
Jump to: navigation, search

This Help page contains technical information on categorising pages and creating categories.

See Fanlore:Sitemap for the category hierarchy.
See Fanlore:Categories for general information about Fanlore's categorization protocol and sitemap.

Contents


Fanlore allows you to categorize pages by adding one or more category tags to the text. Adding these tags creates links at the bottom of an article. These links take you to the list of all pages in that category, making it easier to browse related articles.

How to Add a Page to the Categories

To add an article to a category, type the following at the bottom of the page you are editing:

[[Category:NAME]]

where NAME is the name of the category you want to add. You can add as many category tags to the page as you like; the page will be listed in all of them. As a general rule, you should not include parent categories.

Many templates include categories automatically.

If you're not sure where an article belongs, see Help:Categorising Guidelines.

How to Sort the Page Alphabetically in the Category

You can also specify an additional SORT parameter that dictates where the page will appear alphabetically within the category. Use the following markup:

[[Category:NAME|SORT]]

For example, to sort Francesca Coppa in a category by LastName, FirstName:

[[Category:People|Coppa, Francesca]]

Without the added 'Coppa, Francesca', the page would be listed under 'F' for 'Francesca Coppa'. When listed in the category the article title will still appear as Francesca Coppa.

To change the way an article sorts in every category it appears in, add this text to the page:

{{DEFAULTSORT:SORT}}

For example, to sort The Holmesian Federation under H instead of T, add this text:{{DEFAULTSORT:Holmesian Federation}}

A fancy way to sort the article under the correct letter without the namespace is

[[Category:Help|{{PAGENAME}}]]

Note: the SORT parameter does not affect how the page title is displayed, just how it is ordered. To change how a page title displays, use {{DISPLAYTITLE:title goes here}}. Note that DISPLAYTITLE can only change capitalization.

How to Link to Category Pages

To link to a category page, type

[[:Category:NAME]]

For example, if you were linking to the category page for Help on Fanlore, you would type [[:Category:Help]], and the link would show up on the page as Category:Help.

If you want to display alternate text for the link, type

[[:Category:NAME|TEXT]]

Here is an example of the same link to the category page for Help on Fanlore as above, but with alternative text: Super Fun Help Index!.

How to Create a New Category

Please speak with the Wiki Committee or the Gardeners before creating a new category, except for fandom categories. Go ahead and create fandom categories as needed.

Creating a category is just like creating any other page:

  1. Type "Category:Name" into the search box
  2. Click on the red link to open an edit window for the new page.
  3. Add the parent category, like this: [[Category:Parent]]
  4. Save the page.

What notes to include on the category page

Although the category's primary function is to generate a list of wiki pages and files, you can also include a few brief instructions and useful links for editors and readers, such as

  • the scope of the category (e.g. pages related to Doctor Who fandom)
  • links to templates that most pages in the category would need
  • links to relevant help pages
  • links to other categories that the reader might be looking for

How to Add a Category to the Category Hierarchy

In Fanlore's sitemap, categories are arranged hierarchically. To make a category the "child" or "subcategory" of another category, you can "categorize" the category, exactly like normal pages, by adding the text [[Category:Parent]] to the page. (Replace Parent with the actual name of the parent category.) Categories should be linked only to their parent this way, not to their grandparent, etc.

Categories can have more than one parent. For example, see Category:Merlin Podfic.

Once categories are created, you can always rearrange them in the hierarchy if it makes sense to do so.

"Top-level" or "main" categories are uncategorized. New top-level categories should not be created without consulting the wiki committee.

How to Move a Category

Categories cannot be easily moved like other pages. For this reason, category names should be chosen carefully.

For those with gardener privileges, the easiest way to move categories is to create the new page, delete the old one, and then change the tags in each member of the category (manually or with a bot). However, the page history will be lost.

Moving with Revision History

However, with some effort category pages can be moved together with the full revision history by using the Special:Export and Special:Import functions. [As of 2012, no one on Fanlore has actually tried this.]

More Category Help

Personal tools
Namespaces

Variants
Actions
Fanlore
Browse Categories
Help
Shortcuts for Editors
Toolbox