Template:Navbox/doc
This template allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
Usage
Please remove the parameters that are left blank.
{{Navbox
| name = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}}
| title =
| listclass = hlist
| state = {{{state|}}}
| above =
| image =
| group1 =
| list1 =
| group2 =
| list2 =
| group3 =
| list3 =
<!-- ... -->
| below =
}}<noinclude>
{{navbox documentation}}
<!-- add a navbox category here -->
</noinclude>
TemplateData
Creates a navigational box for links to other pages. Does not display in mobile.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the template. Needed for "View • Talk • Edit" links to work properly.
| String | suggested |
| Title | title | Text in the title bar; centered in the top row of the table. Usually the template's topic.
| Unknown | suggested |
| Group 1 | group1 | If specified, text appears in a header cell displayed to the left of list 1. If omitted, list 1 uses the full width of the table. | Unknown | suggested |
| List 1 | list1 | Body of the template; usually a list of links. Format is inline. At least one list parameter is required; each additional list is displayed in a separate row of the table. Each listn may be preceded by a corresponding groupn parameter. Entries should be separated using a newline and an asterisk. If two asterisks are used, it provides nesting within the previous entry with brackets. | Unknown | required |
| List class | listclass | CSS class for the list cells, usually hlist for horizontal lists. Alternatively, use bodyclass for the whole box.
| String | optional |
| State | state | Controls when a navbox is expanded or collapsed
| Unknown | suggested |
| Above | above | Full-width cell displayed between the titlebar and first group/list, i.e. above the template's body (groups, lists and image) | String | suggested |
| Below | below | Full-width cell displayed below the template's body. | Unknown | suggested |
| Image | image | Image to be displayed in a cell below the title and to the right of the body
| File | suggested |
| group2 | group2 | no description | Unknown | suggested |
| list2 | list2 | no description | Unknown | suggested |
| group3 | group3 | no description | Unknown | suggested |
| list3 | list3 | no description | Unknown | suggested |
| group4 | group4 | no description | Unknown | optional |
| list4 | list4 | no description | Unknown | optional |
| Image left | imageleft | Image to be displayed in a cell below the title and to the left of the body. For the image to display properly, list1 parameter must be specified and no groups can be specified.
| File | optional |
| Navbar status | navbar | no description
| String | optional |
| Border status | border | no description
| String | optional |
| bodystyle | bodystyle | no description | Unknown | optional |
| basestyle | basestyle | no description | Unknown | optional |
| titlestyle | titlestyle | no description | Unknown | optional |
| groupstyle | groupstyle | no description | Unknown | optional |
| liststyle | liststyle | no description | Unknown | optional |
| group1style | group1style | no description | Unknown | optional |
| list1style | list1style | no description | Unknown | optional |
| groupwidth | groupwidth | no description | Unknown | optional |
| listpadding | listpadding | no description | Unknown | optional |
| oddstyle | oddstyle | no description | Unknown | optional |
| evenstyle | evenstyle | no description | Unknown | optional |
| evenodd | evenodd | no description
| Unknown | optional |
| abovestyle | abovestyle | no description | Unknown | optional |
| belowstyle | belowstyle | no description | Unknown | optional |
| imagestyle | imagestyle | no description | Unknown | optional |
| imageleftstyle | imageleftstyle | no description | Unknown | optional |