Difference between revisions of "Help:Categories"

From openwfm
Jump to navigation Jump to search
(misc)
(misc)
Line 3: Line 3:
 
*The code '''<nowiki>[[Category:X]]</nowiki>''' will not create a visible link at the place where it is in the text, but it will place the page into the category X instead.
 
*The code '''<nowiki>[[Category:X]]</nowiki>''' will not create a visible link at the place where it is in the text, but it will place the page into the category X instead.
 
*For every page '''Category:X''', we have also the page '''List of X''' or '''List of X pages''', containing only the line '''<nowiki>#redirect[[Category:X]]</nowiki>'''
 
*For every page '''Category:X''', we have also the page '''List of X''' or '''List of X pages''', containing only the line '''<nowiki>#redirect[[Category:X]]</nowiki>'''
*When you want to link to '''Category:X''', link to the page '''List of X''' instead.  
+
*When you want to link to '''Category:X''', link to the corresponding '''List of X''' or '''List of X pages''' instead.  
 
*[[List of contents|Category:Contents]] is the top level category; use it sparingly.
 
*[[List of contents|Category:Contents]] is the top level category; use it sparingly.
 
*To make a page appear in the category listing in an alphabetical order given by another string Y rather than its name X, use the code '''<nowiki>[[Category:X|Y]]</nowiki>'''. This is the scheme used in [[List of howtos|Category:Howtos]], see [[Help:Howtos]].
 
*To make a page appear in the category listing in an alphabetical order given by another string Y rather than its name X, use the code '''<nowiki>[[Category:X|Y]]</nowiki>'''. This is the scheme used in [[List of howtos|Category:Howtos]], see [[Help:Howtos]].
  
 
[[Category:Help|Categories]]
 
[[Category:Help|Categories]]

Revision as of 23:30, 4 April 2010

  • Each page should have at least one category so that one can navigate to it from the list of contents.
  • A page should not be in a category and its subcategory at the same time.
  • The code [[Category:X]] will not create a visible link at the place where it is in the text, but it will place the page into the category X instead.
  • For every page Category:X, we have also the page List of X or List of X pages, containing only the line #redirect[[Category:X]]
  • When you want to link to Category:X, link to the corresponding List of X or List of X pages instead.
  • Category:Contents is the top level category; use it sparingly.
  • To make a page appear in the category listing in an alphabetical order given by another string Y rather than its name X, use the code [[Category:X|Y]]. This is the scheme used in Category:Howtos, see Help:Howtos.