Template:Navcat/doc

Category:Template documentation#Navcat/doc

Generates one single item for a color navigation template; for navigation see {{Navcattab}}.



It creates a small box with the specified color, and a link to the category.
Different to the habit of other navigations, the color box is part of the link.

Example: {{ Navcat | F0F | Navigational templates }} will give:

  or {{ Navcat | 4 = black | Girls wearing black shirts | Black }} will give Black

Usage


{{Navcat |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1color of the box; the "#" prefix is added when omittedemptysuggested
2name of the categoryemptyrequired
3name to be displayed for the category{{{2}}}optional
4box color, e.g. CSS name, without #-prefixemptyoptional

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:
without any subtemplates

Placement:
when in category: at the top; see the use of {{Navigation Lilies by color}}

Template name:
should describe that it serves to navigate between categories; other possible names

  • Navbox
  • Catnav
  • Boxnav
  • Catbox had been in use. A better descriptive name may be too long.

See also

Localization

This template is not intended to be localized.


Category:Template documentation