Help:Category: Difference between revisions
No edit summary |
|||
Line 11: | Line 11: | ||
== Linking to a category == |
== Linking to a category == |
||
If you want to link to a category without the current article being added to it you should use the following |
If you want to link to a category without the current article being added to it you should use the following link form <nowiki>[[:Category:</nowiki>''foobar''<nowiki>]]</nowiki> (where ''foobar'' is the category name), note the extra : before Category. |
||
== Viewing a list of categories == |
== Viewing a list of categories == |
Revision as of 14:04, 27 May 2004
You can place a page in a category by adding [[Category:foobar]] to the article's text (where foobar is the name of the category).
For example to add an article called Albert Einstein to the the category "people" you would edit the article and add "[[Category:People]]".
Setting sort keys
If you want the article to be sorted alphabeticaly by something other than its name you should use the following link form [[Category:foobar|sort key]] (where foobar is the category name and sort key is the value to sort by).
For example to add an article called Albert Einstein to the the category "people" and have the article sorted by "Einstein, Albert" you would type "[[Category:People|Einstein, Albert]]".
Linking to a category
If you want to link to a category without the current article being added to it you should use the following link form [[:Category:foobar]] (where foobar is the category name), note the extra : before Category.
Viewing a list of categories
You can see currently used categories at Special:Categories.