Template:Catnav
Jump to navigation
Jump to search
This documentation is transcluded from Template:Catnav/doc.
category navigational templates. Current maximum number of items: 99.
To increase this, just duplicate existing rows, increasing the item numbers.
Items are specified via
Builds To increase this, just duplicate existing rows, increasing the item numbers.
Items are specified via
link1
,link2
,link3
etc parameters (with optional display1
,display2
,display3
to allow link title to be different from the wikilink). See example uses: {{Districts of Saarland}}, {{Districts of Saarbrücken Navi}}
Usage
{{Catnav |items= |all= |image= |title= |prefix= |suffix= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
items | number of items in the navigation template | empty | required | |
all | show all items, including items where no page exists (redlinks) | empty | optional | |
image | decorative image for template | empty | optional | |
title | title to be displayed at the top of the template | empty | optional | |
prefix | parameter to customise template use, with text added before the relevant link parameter, eg :Category:Buildings in . | empty | optional | |
suffix | parameter to customise template use, with text added after the relevant link parameter | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Relies on:
{{Catnav/row}}, {{Catnav/top}}, {{Catnav/bot}}
See also
- {{Catnav/built-template-doc}} - standard documentation page for templates built with {{Catnav}}
- Module:Catnav - may act as a drop-in-replacement for this template and adds some features
- → Replacing current Template:Catnav text by
{{#invoke:Catnav|main}}
is possible and should work, but there are a lot of dependent templates and verification of them all by means of preview page with this template is tedious. Doing this transition without a larger review may produce regressions, particularly in layout.
- → Replacing current Template:Catnav text by
Localization
This template is not intended to be localized.