Template:Navbox/doc

This is a documentation page. Meta-template for building navboxes. A navbox is a grouping of links used in multiple related articles to facilitate navigation between those articles.

Up to 8 blocks with up to 8 content & group fields each are supported, as well as displaying the rows in a column-based or horizontal layout and making groups collapsible. Each of these options can be specified for individual blocks or the whole navbox. In addition, navboxes built with this meta-template can be nested/displayed within each other. The template also supports displaying images to the left and/or right of individual blocks or the whole navbox.

Standard navboxes (i.e. those inserted at the bottom of an article) are collapsible and will be auto-collapsed by default (this can be changed by altering the autocollapse limit in MediaWiki:Common.js). Side navboxes are not collapsible by default and do not count towards this limit.

Easy navbox creation
The box below allows you to create a new with the appropriate layout. Simply enter the name of the new navbox ("Template:Navbox" is automatically added) and click the "Create" button.

Style parameters
All  options should be used sparingly as they can lead to visual inconsistencies. Some examples of useful styles:
 * Changing background color:  (accepts HTML color names or RGB hex triplets)
 * Changing (horizontal) text-alignment:  (accepts "center", "justify", "left", "right")
 * Changing vertical text-alignment:  (accepts "bottom", "middle", "top")

Simple box
results in:

Standard box with groups, blocks and headers
results in:

Standard box with groups, blocks and image
results in:

Standard box with groups, blocks and block images
results in:

Collapsible groups
results in:

Collapsible and non-collapsible mixed
results in:

Columns
results in:

Columns and standard rows mixed
results in:

Technical

 * This template is fairly complex. Editing it requires a good understanding of parser functions and wiki syntax.
 * Auxiliary templates:
 * Navbox/aux: Merges various input parameters, calculates row/column counts for a given block and passes results to or  (depending on the specified layout type).
 * Navbox/aux2: Returns a whole block of standard rows according to options and specified cells.
 * Navbox/aux3: Returns a whole block of columns according to options and specified cells.
 * Standardized documentation for templates based on this one:
 * Navbox/doc/standard