Help:Category

Categories group pages on the same subject. A page can be in several categories, and a category can be in other categories.

Putting a page in a category

edit

Name the categories in the settings block at the very start of the page:

---
categories: [Tutorials, LCL]
---

One category can also be written without brackets: categories: Tutorials. The Category: prefix may be left out. The first letter is made a capital.

The page's categories show at its foot, in the order written.

Category pages

edit

Every category has a page, such as Category:Tutorials. It shows its own text, then the subcategories (the categories in this category) and the other pages in it, in alphabetical order.

A category page is an ordinary page: click Edit to write an introduction to the category. To put a category in another category, give the category page a categories: setting of its own.

Linking to a category

edit

[[Category:Tutorials]] in the text links to the category page. It does not put the page in the category.

Categories from templates

edit

A template can put every page that uses it in a category, with :category[Name] in the template's text. See Help:Templates.

Translated pages

edit

Translations usually go in a category of their own language, such as Tutorials/de, so that each category page lists the pages in one language.