Help:Category: Difference between revisions
Content deleted Content added
added some examples, needs work. |
m Protected "Help:Category": Persistent vandalism ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
||
(809 intermediate revisions by more than 100 users not shown) | |||
Line 1: | Line 1: | ||
{{MovedToMediaWiki}} |
|||
<-[[MediaWiki User's Guide]] |
|||
[[Category:Reader handbook]] |
|||
You can place a page in a category by adding <nowiki>[[Category:</nowiki>''foobar''<nowiki>]]</nowiki> to the article's text (where ''foobar'' is the name of the category). |
|||
[[Category:Categorization]] |
|||
For example to add an article called Albert Einstein to the the category "people" you would edit the article and add "<nowiki>[[Category:People]]</nowiki>". |
|||
== 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 <nowiki>[[Category:</nowiki>''foobar''<nowiki>|</nowiki>''sort key''<nowiki>]]</nowiki> (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 "<nowiki>[[Category:People|Einstein, Albert]]</nowiki>". |
|||
== 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 kink form <nowiki>[[:Category:</nowiki>''foobar''<nowiki>]]</nowiki> (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]]. |
Latest revision as of 04:34, 25 January 2022
This page has been moved to Help:Category on mediawiki.org.
Any modifications or additions to this page should be made on mediawiki.org instead. |