CATEA.orgassistivetech.netATWiki
Personal tools
Views

Interested in disability history? Check out what happened Today in AT History!

Help:Categories

From ATWiki

Jump to: navigation, search

Contents

Adding a Category to an Article

To add an article to a category put the following at the end 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.

Organizing Articles in a Category

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.

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!

Subcategories

Categories in the ATWiki are not arranged like a tree as one might think. Instead, they are arranged like a network. This way, articles and subcategories can be placed under multiple parent categories.

Adding a New Subcategory

To add a new subcategory, create the subcategory page by searching for the page in the search box.

Example:
Category:Pizza

Once you are on the category page, select the "edit" link and create links to the desired parent categories.

Category:Pizza Example:
[[Category:Italian Food|Categories]]
[[Category:Junk Food|Categories]]

{{PAGENAME}} is a template that displays the current page's name. By adding {{PAGENAME}} in the sort parameter, the parent category knows to sort the incoming subcategory by page name.