Template:Category

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Category/doc.

This template is used in other templates to categorize pages to a stated category only when the template is used in the stated namespace. Pages in other namespace are not categorized.

Usage

{{Category |1= |2= |3= }}

Template parameters

Parameter Description Default Status
1 category name - the name of the target category (without the prefix Category: and without quotation marks). The template doesn't test whether the target category exists. empty required
2 namespace - the namespace from which only pages were categorized. (main - gallery) optional
3 sortkey - a sortkey for the page in the target category. {{PAGENAME}} optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)