Difference between revisions of "Help:Categories"

m (yay template)
m (clarified bracketing business)
Line 4: Line 4:
  
 
==How to Use Categories==
 
==How to Use Categories==
*To add an article to a category put the following at the end of the page you are editing:
+
*To add an article to a category put the following '''at the end of the page you are editing''':
  
  <nowiki>[[Category:{Name}]]</nowiki>
+
  <nowiki>[[Category: Category Name]]</nowiki>
  
 
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.
 
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.
Line 12: Line 12:
 
*Sometimes you'll want to link to a category, but you won't want the page to actually appear in the category. For example, if you are editing the Puch page and you want to add, "If you are looking for information on Motobecanes, please see the Motobecane category," you obviously don't want the Puch article to appear in the Motobecane category. To fix this issue, add a colon before "Category":
 
*Sometimes you'll want to link to a category, but you won't want the page to actually appear in the category. For example, if you are editing the Puch page and you want to add, "If you are looking for information on Motobecanes, please see the Motobecane category," you obviously don't want the Puch article to appear in the Motobecane category. To fix this issue, add a colon before "Category":
  
  <nowiki>[[:Category:{Name}]]</nowiki>  
+
  <nowiki>[[:Category: Category Name]]</nowiki>  
  
 
or, following the example:
 
or, following the example:
Line 20: Line 20:
 
*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:
 
*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:
  
  <nowiki>[[Category:{Name}|{Sort}]]</nowiki>
+
  <nowiki>[[Category: Category Name|Sort parameter]]</nowiki>
  
 
So for example, to add this page to the 'Help' category, you would use:
 
So for example, to add this page to the 'Help' category, you would use:

Revision as of 20:49, 3 September 2008

When to Use Categories

At least one category should always be included on each page. Don't go crazy with categories, but try to include all appropriate ones for the article you're working on. If you aren't sure which category (categories) are appropriate, you can view them all here and try to determine the best fit for your article.

How to Use Categories

  • To add an article to a category put the following at the end of the page you are editing:
[[Category: 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.

  • Sometimes you'll want to link to a category, but you won't want the page to actually appear in the category. For example, if you are editing the Puch page and you want to add, "If you are looking for information on Motobecanes, please see the Motobecane category," you obviously don't want the Puch article to appear in the Motobecane category. To fix this issue, add a colon before "Category":
[[:Category: Category Name]] 

or, following the example:

[[:Category: Motobecane]]
  • 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: Category Name|Sort parameter]]

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 gangs that are titled as The GangName but within the category you want them listed as GangName, The.

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!


MopedWiki Help Pages
IntroductionSearchingBasic EditingEditing (longer)LinksCategories
ImagesTablesTemplatesUserboxesRevertingStubsRainy Day Edits