Jump to content

Template:Lema

Add topic
Unchecked
From Wikipedia

Template:Categoritza

Template documentation

The template Categoritza is a utility template on test2.wikipedia used to assist editors in the organization and maintenance of category pages. It provides a standardised way to display category-related information, helper links, and maintenance notes for pages in the category namespace.

Categories are one of the core mechanisms to structure content on a wiki and to help readers navigate between related pages.[1] On test wikis such as test2.wikipedia, templates like Categoritza are often used for experimenting with category layouts and tools before deploying ideas to production projects.[2]

File:Category management icon.svg
Example icon often used on category-related templates

Purpose

The main purposes of Template:Categoritza include:

  • Providing a consistent header or information box on category pages.
  • Documenting the scope and inclusion criteria of a category.
  • Linking to relevant help pages, guidelines, and related categories.
  • Highlighting maintenance information (e.g. categories that are under discussion, being cleaned up, or used for tracking).
  • Offering tools for patrollers and bots to process categories in a predictable format.[3]

In practice, such templates help standardise how categories look and behave, making it easier for both new and experienced editors to understand what a category is meant for.

Usage

Basic usage

The simplest way to use the template is to place it at the very top of a category page:

{{Categoritza
| description = Pages related to example topics used for testing.
| parent      = [[Category:Example parent category]]
| tracking    = [[Category:Tracking categories]]
}}

Typical parameters include:

  • description – short description of what the category contains.
  • parent – one or more parent categories, usually displayed as links.
  • tracking – tracking or maintenance categories that the current category belongs to.
  • notes – optional free-form notes or local instructions.

When the template is transcluded on a page in the [[:Category:]] namespace, it usually renders a small information box or a formatted block of text at the top of the category, above the list of pages.

Example

An example usage on a testing category could look like:

{{Categoritza
| description = This is a test category used for experimenting with category-related templates on test2.wikipedia.
| parent      = [[Category:Test categories]]
| tracking    = [[Category:Maintenance categories]]
| notes       = Do not rely on the content of this category for serious work; it may be changed or emptied at any time.
}}

This might result in a visible box summarising what the category is for, how it should be used, and which broader category tree it belongs to.

Parameters

Required parameters

description
A concise explanation of the scope of the category. This helps both readers and editors decide whether a particular page belongs in the category.

Optional parameters

parent
One or more parent categories. These are generally shown as links and may be separated by commas or line breaks.
tracking
One or more hidden or visible tracking categories, typically used for maintenance and automated reports.
notes
Any supplementary notes, local warnings, or instructions. For example, notes can explain that a category is only for articles that meet certain criteria.
style
Optional parameter to adjust the visual style (for example, background colour or icon choice) on test wikis where CSS experimentation is common.

Technical details

Internally, Template:Categoritza may make use of:

  • Parser functions like and to check whether parameters are set.
  • Category-specific magic words such as when a category is meant to be hidden from readers by default.[4]
  • Subtemplates for icons, colour schemes, and documentation.

Many test templates are also designed to be robust against being transcluded on non-category pages, either by producing a warning or by rendering a neutral message.

Relation to other templates

On large projects, there are numerous templates associated with categories, such as:

  • Navigation templates for browsing within a topic.
  • Maintenance templates that mark categories for deletion, renaming, or discussion.
  • Project-specific banners that indicate a category belongs to a particular WikiProject.

Categoritza can coexist with such templates and may be placed alongside them, usually at the top of the category page.

Maths and formatting tests

Because test wikis often serve as sandboxes, Template:Categoritza (and its documentation) may also include examples of formatting elements:

  • Simple formulas such as to demonstrate how mathematical content appears in category descriptions.
  • Preformatted blocks:
Preformatted example text
  • Test images for thumbs and alignment:
Example map used for testing
Alternative test image

These examples help editors see how different visual components interact on category pages, especially when combined with long lists of pages.

References

  1. "Help:Category". Wikipedia. Retrieved 2025-12-08.
  2. "Test Wikipedia". test2.wikipedia. Retrieved 2025-12-08.
  3. "Wikipedia:Categorization". Wikipedia. Retrieved 2025-12-08.
  4. "Help:Category – Hiding categories". Wikipedia. Retrieved 2025-12-08.