Template:Dynamic navigation box/doc

This template creates a navigational template when supplied with text for the title and body (usually a list of links).

Mandatory

 * title
 * Text that appears centered in the titlebar (the top bar). Usually this is the template's topic, i.e. a succinct description of the body contents.


 * body
 * Contents of the navigation box. To separate links  ( &#124; ) or   ( &bull; ) or · (· ) to separate links. It is not possible to include a pipe ( | ) in the contents as this symbol is used to separate parameters.

Optional

 * name
 * The name of the template, which is needed for the "view· talk· edit" links to work properly on all of the pages where the template is used on. You can enter  for this value as a shortcut.


 * style
 * Specifies CSS values to apply to the template. For instance: ...etc.  This option should be used sparingly as it can lead to visual inconsistencies.


 * color
 * Title background color. Default is #ccf . Use of this parameter is discouraged. Where it is used, care and consensus are needed as multiple navigational templates on one page with different titlebar colors will probably look unpleasant.


 * fontcolor
 * Title font color. Also used by the tnavbar template (v-d-e links).


 * state
 * Defaults to . If set to , the navbox will always start out in a collapsed state. If set to blank or anything other than   or  , the navbox will always start out in an expanded state. A navbox with   will start out collapsed if there are 2 or more tables on the same page that use collapsible. For the technically minded, see MediaWiki:Common.js.