Template:Navcat
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | color of the box; the "#" prefix is added when omitted | empty | suggested | |
2 | name of the category | empty | required | |
3 | name to be displayed for the category | {{{2}}} | optional | |
4 | box color, e.g. CSS name, without #-prefix | empty | 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:
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
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