231 Pages

Template documentation[view · edit · purge · links]

Template:Category standardizes the presentation of all category lede sections. It injects a navigation menu to sort the category by letter, then provides basic information about the category. It is to be used on all category pages.

Usage

Place the following at the very top of the category page, above everything else:

{{category |name= |contains= |namespace= |function= |purpose= |related= |with= |template= |desc= }}

Parameters

Optional

name
(default: "{{PAGENAME}}" )

The name of the category (omitting "Category:"). This parameter can usually be omitted as it automatically fills in the category's name. However, this parameter exists to enable the modification of the name.

Optional

contains

A short qualifier before the namespace. An example value of this parameter would be "all", which would enable the intro to read as "name contains all namespace".

Optional

namespace
(default: "pages" )

The namespace of the pages that the category contains, of the following options:

  • main, produces "articles"
  • file, produces "files"
  • template, produces "templates"
  • category, produces "categories"
  • module, produces "modules"

If left blank, this parameter will default to "pages", a term which applies to all namespaces. As such, omit this parameter if the category contains pages of different namespaces or namespaces not included in the above list.

Optional

function

A sentence describing the function of the pages included in the category, preceded by "used to". This parameter is also an alternative to purpose, related, and with. This is only required if further qualifiers need to be added.

Optional

purpose

A sentence describing the purpose of pages included in the category, preceded by "used for". This parameter is also an alternative to function, related, and with. This is only required if further qualifiers need to be added.

Optional

related

A sentence describing the relation of pages included in the category to a certain topic, preceded by "related to". This parameter is also an alternative to function, purpose, and with. This is only required if further qualifiers need to be added.

Optional

with

A sentence describing constituent pages with a certain attribute, preceded by "with". This parameter is also an alternative to function, purpose, and related. This is only required if further qualifiers need to be added.

Optional

template

The associated template that automatically adds the category in question (if needed). Explains that because of the association, the category does not need to be manually added.

Optional

desc

A further description of the constituent items of the category (if necessary).

Community content is available under CC-BY-SA unless otherwise noted.