Help:Categories

From EQ KnowledgePit

Jump to: navigation, search
This is a Help article.
This page is designed to help members of the KnowledgePit community edit articles on this site. To find articles that need editing, see Category:Articles in need of an editor. See Help:Contents for an overview of all the help pages.

Contents

[edit] Adding to a Category

To add an article to a category put the following at the top of the page you are editing:

[[Category:{Name}]]

where {Name} is the name of the category you want to add it to. 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. Other situations where you might want to use the sort parameter is when you have articles about people that are titled as FirstName LastName but within the category you want them listed as LastName, FirstName.

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

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

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!

[edit] 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 this site, the link would look like this: Category:Help

If you want to display alternate text for the link:

[[:Category:{name}|{alternate text}]]

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

[edit] Categorize Categories

Categories themselves and other uploaded files like Pictures can be categorized exactly like normal pages. It is useful to connect the article-categories with categories already in place to establish connections and hierarchies. To this end, after saving the article, 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.

[edit] Displaying a Category's Contents

Here are the KnowledgePit, we have an extension to display the contents of a category conveniently in a page. This can be done via one of two methods; either by directly calling the <category> tag, or by including one of the templates that takes care of it for you. Calling a template is the advised method.

Personal tools
character profiles
Secrets of Faydwer
Your Ad Here

  Supreme Top 100 List
Supreme Top 100 List
EverQuest sitesEverQuest sites Top 100 Gaming Sites