You must log in to edit. If you don't have an account create one now!

Help:Categories

From WikiStory

Jump to: navigation, search
(Certain parts of this page, marked in its source, is/are in the public domain.)

WikiStory allows you to categorize pages by adding one or more category tags to the text. Categorizing stories, poems, plots, and character descriptions is the primary way, after namespaces, through which WikiStory is organized. Adding these tags create links at the bottom of the story, poem, plot, character description, or Author Page, which take you to the list of all pages in that category (in all namespaces), from which one can easily browse related stories.

Contents

How to add categories

To add an article to a category put the following at the beginning or end of the page you are editing...

[[Category:NAME]]

where NAME is the name of the category to which you want to add it. Any number of category tags may be added to the page - the page will be listed in all of them.

You can also specify an additional SORT parameter that dictates where the page will appear, alphabetically, within the category. This is achieved by using the following markup:

[[Category:NAME|SORT]]

So for example, to add this page to the 'Help' category, you would use:

[[Category:Help|Categories]]

Note that we used 'Categories' as the sort parameter. Without this the page would be listed under 'H' for 'Help:Categories', instead of under 'C', which is more useful. When adding a page that is not in the Story namespace to a category, remember to place something (such as the title of the work) in the sort parameter so that it is not sorted by namespace.

Another way to sort the article in the correct letter without the namespace is

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

This is extremely helpful when using templates which include a category tag.

Note: the SORT parameter does not affect how the page title is displayed within the category listing, just how it is ordered. In the above example, the link to this page will still be 'Help:Categories', and not 'Categories' as you might expect.

Linking to Category Pages

To create a link to a category page:

[[:Category:NAME]]

If you were linking to the Category Page for Help on WikiStory, the link would look like this: Category:Help

If you want to display alternate text for the link:

[[:Category:NAME|TEXT]]

Here is an example of the same link to the Category Page for Help on WikiStory as above, but with alternative text: WikiStory Help Index

Categorize Categories

Categories themselves can be categorized exactly like normal pages. It is useful to connect the page-categories with categories already in place to establish connections and hierarchies. To this end, after saving the page, follow the category links at the end of the page to see, if the category is already in place and if not, categorize them until you connect them with an existing category.

Moving categories

Categories cannot be changed. For this reason, category names should be chosen carefully. (Nevertheless, you may add a new category.)

Personal tools