{{{title}}} |
---|
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Navbox/doc to edit this documentation. (How does this work?) |
Please see the Lua reference manual and Lua templating on the Fandom Developers Wiki for more information on using Lua as a templating language.

It uses Module:Navbox and MediaWiki:Navbox.css to build navboxes.
Please see Global Lua Modules/Navbox for more information on how this template functions.
This template should be used in navbox templates, which should be included at the bottom of each page that is linked in the template. This template itself should only be used within other navbox templates, and should not be placed directly on article pages.
Usage
Here is a list of the supported parameters. All parameters are optional.
Main Parameters
Parameter(s) | Usage |
---|---|
template | enter the name of the navbox template to create v/e (view/edit) links (uses {{vdelinks}}) |
border | enter the value "child" to make the navbox a child navbox of another one |
1 | |
title | the main title of the navbox |
above | used to add a row that appears above all header and data rows |
header1-99 | used to add subheaders, headers are hidden by default unless there are list rows under them |
show1-99 | enter the value "yes/no", used to force show/hide a section, the number should correspond to the number of the header that started the section |
showall | enter the value "yes" to force show all sections, it can be overridden with individual show1-99 parameters |
group1-99 | used to display the group label for a row, if absent, the corresponding list will expand to fill the gap |
list1-99 | the actual list for a row |
below | used to add a row that appears beneath all header and data rows |
Style Parameters
Parameter(s) | Usage |
---|---|
bodystyle | classes and styles to add to the navbox itself |
bodyclass | |
titlestyle | classes and styles to add to the title |
titleclass | |
abovestyle | classes and styles to add to the above row |
aboveclass | |
rowclass | classes to add to all rows |
groupstyle | classes and styles to add to the all groups |
groupclass | |
liststyle | classes and styles to add to the all lists |
listclass | |
belowstyle | classes and styles to add to the below row |
belowclass |
Collapsing Parameters
This navbox has two forms of collapsing: for the navbox itself and for individual subsections.
Parameter(s) | Values | Usage |
---|---|---|
state | collapsed expanded plain |
sets the default collapse state of the navbox itself |
state1-99 | collapsed expanded plain |
sets the default collapse state of a single section |
defaultstate | collapsed expanded plain |
sets the default collapse state for all subsections only, can be overridden by individual state1-99 parameters |
Example
.navbox-title | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
.navbox-above | |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
.navbox-below |
{{Navbox |template = Navbox/doc |title = .navbox-title |state = collapsed |above = .navbox-above |header1 = .navbox-header (Plain) |group1 = .navbox-group |list1 = .navbox-list |group2 = .navbox-group |list2 = .navbox-list |header3 = .navbox-header (Expanded) |state3 = expanded |group3 = .navbox-group |list3 = * .navbox-list * .navbox-list |group4 = .navbox-group |list4 = {{Navbox|child |group1 = .navbox-group |list1 = .navbox-list |group2 = .navbox-group |list2 = * .navbox-list * .navbox-list }} |header5 = .navbox-header (Collapsed) |state5 = collapsed |group5 = .navbox-group |list5 = * .navbox-list * .navbox-list |group6 = .navbox-group |list6 = * .navbox-list * .navbox-list ** .navbox-list ** .navbox-list * .navbox-list |list7 = .navbox-list.no-group |below = .navbox-below }}