Template:Navbox/doc

From Subnautica Wiki

Description

This template is used as a base for other navbox templates. It invokes Module:Navbox and supports unlimited data sets.

Parameters

More parameters than the ones listed below are supported in the Module; for more information, see Dev Wiki's documentation. The documentation presented here is intended to be simplified for use on Subnautica Wiki.

parametern (for example, headern) allows the use of any number in place of n. For example, the first header will use the parameter header1, the second header2, and so on.

title
The main title of the navbox
template
The name of the template, which will be used to generate view/discuss/edit links
state
The state parameter controls the collapsing of the navbox itself.
  • expanded (default) sets the navbox to be expanded when the page is loaded, but it can then be collapsed by the user.
  • collapsed sets the navbox to be collapsed when the page is loaded, but it can then be expanded by the user. This is the standard behavior for navboxes on Subnautica Wiki.
  • plain sets the navbox to be expanded at all times without the ability to collapse it.
above
Adds a row that appears above all other rows and below the title
headern
Used to add subheaders to the navbox. Headers are hidden by default unless there are any list rows under them.
groupn
Contains the group label for a row. If not present, the corresponding list will expand to fill the gap.
listn
The actual list for the row
below
Adds a row that appears below all other rows

Boilerplate

{{Navbox
| title = 
| template = 
| state = collapsed
| above = 
| header1 = 
| group1 = 
| list1 = 
| below = 
}}