Изменения

Справка:Категории

31 байт убрано, 19:50, 28 января 2010
м
Нет описания правки
{{PD Help Page/ru}}
{{trans/ru}}
 
MediaWiki позволяет категоризировать статьи с помощью одного или нескольких тэгов Category, добавленных на страницу статьи. Эти тэги создают ссылки внизу статьи, по которым вы можете попасть на страницу со списком всех статей в данной категории, что облегчает поиск связанных по содержанию статей.
 
== Как создавать категории ==
To add this page to the 'Help' category to be located in the list at 'C' you would use:
<nowiki>[[Category:Help/ruСправка|Categories]]</nowiki>
Without this, the page would be listed under 'H' for 'Help:Categories', instead of under 'C'. Another example is when you have articles about people that are titled as <code>FirstName LastName</code> but within a particular Category you want them listed as <code>LastName, FirstName</code>.
Another way to sort an article in the correct letter group without using the 'namespace' is:
<nowiki>[[Category:Help/ruСправка|{{SUBPAGENAME}}]]</nowiki>
This is helpful when using templates which include a category tag.
<nowiki>[[:Category:ИМЯ]]</nowiki>
so that "ИМЯ" is the Category for the link. For example, if the name were "Help" the link would look like [[:Category:Help/ruСправка]]. Without the leading colon, it would be instead blank or red in the text, because there is no such content page linked within that category.
If you want to display alternate text for the link, add that after a bar as with other internal links:
<nowiki>[[:Category:ИМЯ|ТЕКСТ]]</nowiki>
The same link to Category:Help/ru Справка as above might show this alternative text: [[:Category:Help/ruСправка|Справка по MediaWiki (на русском языке)]]
== Категоризация категорий==
However, category pages ''can'' be moved together with the full revision history, with some effort, by using the [[Special:Export]] and [[Special:Import]] functions.
{{Languages|Help:Categories}}[[Category:Help/ruСправка|CategoriesК]]