Hoppa till innehållet

Hjälp:Category

Från Plutten

es:Help:Category ja:Help:カテゴリ pt:Help:Category ru:Help:Category zh-hans:Help:Category Every article must be categorized: categories are displayed at the bottom of each article (or in a sidebar in the Timeless skin). This page will explain how to set page category, how to create missing categories pages and how to move a page to a different category. For the related style rules, see Help:Style.

Articles and categories used as examples in this article are not real. If you want to practice moving while reading this page, find a real page you want to move. ^

Set page category

[redigera wikitext]

Click Redigera at the top of the page. Add the following to the beginning of the text:

[[Category:Some Category]]

Use existing categories when possible: you can find the whole category tree at Table of contents. Only if there is no suitable category for your new article, do save the page with the non-existent category name, but then follow #Create new category page.

Create new category page

[redigera wikitext]

After you have saved the page, you will see a "Category: Some Category" link at the bottom of the article. If this category does not exist it will be highlighted in red. Click the red link to go to the newly created category.

Set it to be a sub-category of an existing parent category:

[[Category:Parent Category]]

Finally save the category page.

If you think the new category needs a parent that does not exist yet either, please open a discussion in the new category's talk page instead of creating a whole new tree of categories by yourself.

Move a page into a different category

[redigera wikitext]

To move a page into a category, edit the page's [[Category:Some category]] line.

For example, let us move a fictional page "ArchWiki Tutorial (Magyar)" to an appropriate fictional category. (Moving to existing categories is basically the same as moving to non-existing categories.)

Click Redigera at the top of the page. Find the following line at the beginning of the text:

[[Category:Help]]

change it to:

[[Category:Help (Magyar)]]

Save the page by clicking the Spara ändringar button just below the edit box.

i18n category name

[redigera wikitext]

Category titles follow the same rules described in Help:i18n#Page titles, but note that they cannot take advantage of Help:i18n#Localized redirects simply because MediaWiki does not support them.

Category list

[redigera wikitext]

To find out more about ArchWiki categories: