Template:Navcat

T

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template: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:Templates not requiring internationalization Category:Colorbox formatting templates#%20 Category:Navigational templates Category:Table formatting templates#%20 Category:By color navigational templates#%20
Category:By color navigational templates Category:Colorbox formatting templates Category:Navigational templates Category:Table formatting templates Category:Templates not requiring internationalization