Template:Category description

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Display one of several predefined category description boxes including navigation links to related categories

Usage

{{Category description |1= }}

The template Category description with its numerous subtemplates can be used on a category page to describe the content of the category and display links to related other categories. It is meant to be used in cases where a number of categories share the same basic description and the same naming scheme, and for each such group of categories, a subtemplate exists. For example, the categories Nature of the canton of Graubünden and Nature of Nitra Region both use the same subtemplate {{Category description/Nature by administrative division}}.

How to use this template on a category page

  1. Find the subtemplate which fits your category by looking at a similar category or picking it from the full list. The subtemplate names should be self-explaining. If there is no subtemplate that fits your category (yet), please consider to create it.
  2. Add the line {{Category description|<subtemplatename>}} at the top of the category page.
  3. Remove all navigation boxes or other content which is redundant to the output of this template.

Template parameters

ParameterDescriptionDefaultStatus
1Subtemplate to use. A list of available subtemplates can be found here. If there is no subtemplate that fits your category (yet), please consider to create it.emptyrequired
pagenamePage name (without the “Category:” prefix) of the page for which the description should be displayed. Used only for demonstration purposes, don't set this on an actual category page.{{PAGENAME}}optional

Additional information

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

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

Relies on:

Examples

{{Category description|Season by administrative division|pagename=Summer in Sweden}}

renders as:


{{Category description|Taxon by administrative division and month|pagename=Fabales in Lower Austria in June}}

renders as:

See also

Localization

This template is localized by utilizing Wikidata, via {{Label}} template or similar approach.