Jump to content

Help:Categories

From Wikimedia Commons, the free media repository
For the editing guideline see Commons:Categories

Categories are used to arrange all the files and other pages in Wikimedia Commons into a hierarchical, interlinked structure. In mobile view, they are hidden unless Advanced mode is turned on in Special:MobileOptions (this option is only accessible in mobile view). They are at the bottom of virtually all pages and are sometimes linked elsewhere in a page.

In the example code

[[category:foo|bar]]

'foo' is the category name and 'bar' is the sortkey. Whatever filepage or other page that text is put on will be included in the 'foo' category under the 'B' heading.

An illustration of how the categories are linked.

The top of the hierarchy is category:CommonsRoot.

See also

[edit]