Changes

513 bytes added ,  14:13, 15 August 2008
m
forgot that
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:{Name}]]</nowiki>
Line 10: Line 10:  
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.
   −
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:
+
*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>
 +
 
 +
or, following the example:
 +
 
 +
<nowiki>[[:Category: Motobecane]]</nowiki>
 +
 
 +
*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:{Name}|{Sort}]]</nowiki>
3,140

edits