Template:Navbox: Difference between revisions
ReisuDesign (talk | contribs) Created page with "<includeonly><!-- Please do not edit without discussion first as this is a VERY complex template. -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|<!-- -->#default=<table cellspacing="0" class="navbox-border navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><!-- --><tr><td style="padding:2px;">}}<!-- --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- -->plain=|#default={{#ifeq:{{lc..." |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 25: | Line 25: | ||
---Above--- | ---Above--- | ||
-->{{#if:{{{above|}}}|<!-- | -->{{#if:{{{above|}}}|<!-- | ||
--><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | --><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | ||
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> | ||
| Line 33: | Line 32: | ||
---First group/list and images--- | ---First group/list and images--- | ||
-->{{#if:{{{imageleft|}}}|<!-- | -->{{#if:{{{imageleft|}}}|<!-- | ||
| Line 62: | Line 60: | ||
{{{image}}}</div></td>}}<!-- | {{{image}}}</div></td>}}<!-- | ||
---Remaining groups/lists--- | ---Remaining groups/lists--- | ||
-->{{#if:{{{list2|}}}|<!-- | -->{{#if:{{{list2|}}}|<!-- | ||
-->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- | ||
| Line 75: | Line 71: | ||
--><div style="padding:{{{list2padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list2padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list2}}} | {{{list2}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list3|}}}|<!-- | -->{{#if:{{{list3|}}}|<!-- | ||
-->{{#if:{{{group3|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group3|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- | ||
| Line 86: | Line 81: | ||
--><div style="padding:{{{list3padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list3padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list3}}} | {{{list3}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list4|}}}|<!-- | -->{{#if:{{{list4|}}}|<!-- | ||
-->{{#if:{{{group4|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group4|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- | ||
| Line 97: | Line 91: | ||
--><div style="padding:{{{list4padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list4padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list4}}} | {{{list4}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list5|}}}|<!-- | -->{{#if:{{{list5|}}}|<!-- | ||
-->{{#if:{{{group5|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group5|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- | ||
| Line 108: | Line 101: | ||
--><div style="padding:{{{list5padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list5padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list5}}} | {{{list5}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list6|}}}|<!-- | -->{{#if:{{{list6|}}}|<!-- | ||
-->{{#if:{{{group6|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group6|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- | ||
| Line 119: | Line 111: | ||
--><div style="padding:{{{list6padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list6padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list6}}} | {{{list6}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list7|}}}|<!-- | -->{{#if:{{{list7|}}}|<!-- | ||
-->{{#if:{{{group7|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group7|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- | ||
| Line 130: | Line 121: | ||
--><div style="padding:{{{list7padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list7padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list7}}} | {{{list7}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list8|}}}|<!-- | -->{{#if:{{{list8|}}}|<!-- | ||
-->{{#if:{{{group8|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group8|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- | ||
| Line 141: | Line 131: | ||
--><div style="padding:{{{list8padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list8padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list8}}} | {{{list8}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list9|}}}|<!-- | -->{{#if:{{{list9|}}}|<!-- | ||
-->{{#if:{{{group9|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group9|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- | ||
| Line 152: | Line 141: | ||
--><div style="padding:{{{list9padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list9padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list9}}} | {{{list9}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list10|}}}|<!-- | -->{{#if:{{{list10|}}}|<!-- | ||
-->{{#if:{{{group10|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group10|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- | ||
| Line 163: | Line 151: | ||
--><div style="padding:{{{list10padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list10padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list10}}} | {{{list10}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list11|}}}|<!-- | -->{{#if:{{{list11|}}}|<!-- | ||
-->{{#if:{{{group11|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group11|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- | ||
| Line 174: | Line 161: | ||
--><div style="padding:{{{list11padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list11padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list11}}} | {{{list11}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list12|}}}|<!-- | -->{{#if:{{{list12|}}}|<!-- | ||
-->{{#if:{{{group12|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group12|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- | ||
| Line 185: | Line 171: | ||
--><div style="padding:{{{list12padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list12padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list12}}} | {{{list12}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list13|}}}|<!-- | -->{{#if:{{{list13|}}}|<!-- | ||
-->{{#if:{{{group13|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group13|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- | ||
| Line 196: | Line 181: | ||
--><div style="padding:{{{list13padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list13padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list13}}} | {{{list13}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list14|}}}|<!-- | -->{{#if:{{{list14|}}}|<!-- | ||
-->{{#if:{{{group14|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group14|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- | ||
| Line 207: | Line 191: | ||
--><div style="padding:{{{list14padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list14padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list14}}} | {{{list14}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list15|}}}|<!-- | -->{{#if:{{{list15|}}}|<!-- | ||
-->{{#if:{{{group15|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group15|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- | ||
| Line 217: | Line 200: | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{list15padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list15padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list15}}}</div></td | {{{list15}}}</div></td>}}<!-- | ||
-->{{#if:{{{list16|}}}|<!-- | -->{{#if:{{{list16|}}}|<!-- | ||
-->{{#if:{{{group16|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group16|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- | ||
| Line 228: | Line 210: | ||
--><div style="padding:{{{list16padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list16padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list16}}} | {{{list16}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list17|}}}|<!-- | -->{{#if:{{{list17|}}}|<!-- | ||
-->{{#if:{{{group17|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group17|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- | ||
| Line 239: | Line 220: | ||
--><div style="padding:{{{list17padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list17padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list17}}} | {{{list17}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list18|}}}|<!-- | -->{{#if:{{{list18|}}}|<!-- | ||
-->{{#if:{{{group18|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group18|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- | ||
| Line 250: | Line 230: | ||
--><div style="padding:{{{list18padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list18padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list18}}} | {{{list18}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list19|}}}|<!-- | -->{{#if:{{{list19|}}}|<!-- | ||
-->{{#if:{{{group19|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group19|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- | ||
| Line 261: | Line 240: | ||
--><div style="padding:{{{list19padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list19padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list19}}} | {{{list19}}} | ||
</div></td | </div></td>}}<!-- | ||
-->{{#if:{{{list20|}}}|<!-- | -->{{#if:{{{list20|}}}|<!-- | ||
-->{{#if:{{{group20|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | -->{{#if:{{{group20|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- | ||
| Line 272: | Line 250: | ||
--><div style="padding:{{{list20padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list20padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
{{{list20}}} | {{{list20}}} | ||
</div></td | </div></td>}}<!-- | ||
Revision as of 20:35, 9 November 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Draft | Usage |
Template that creates a standard navigation box.
- For full documentation: RANGER navboxes
- For the full list of supported parameters: Template:Navbox
Syntax
{{Navbox
|title =
|striped = even
|edit_link = off
|group1 =
|list1 =
|group2 =
|list2 =
}}
Examples
Multiple subgroups
{{Navbox
|title = Items
|striped = even
|edit_link = off
|above = Some items are restricted to specific classes; see Classes for more information.
|below = Update 1.2
|below_class = align-right
|group1 = Consumables
|list1 =
* Health Potion
* Mana Potion
|group2 = Weapons
|group2.1 = Swords
|list2.1 =
* Wooden Sword
* Rusted Sword
* Steel Sword
|group2.2 = Bows
|list2.2 =
* Shortbow
* Crossbow
* Longbow
}}
| |||||||||
Multiple expands/collapses in a single container
{{Navbox
|title = Items
|striped = even
|edit_link = off
|header1 = Consumables
|header1.1 = Potions
|list1.1 =
* Revitalizing Potion
* Teleport Potion
|group1.1.1 = Health
|list1.1.1 =
* Health Potion
* Large Health Potion
* Elixir of Healing
|group1.1.2 = Mana
|list1.1.2 =
* Mana Potion
* Large Mana Potion
* Elixir of Magic
|header1.2 = Scrolls
|list1.2 =
* Scroll of Poison
|header3 = Weapons
|state3 = collapsed
|group3 = Swords
|list3 =
* Wooden Sword
* Rusted Sword
* Steel Sword
|group4 = Bows
|list4 =
* Shortbow
* Crossbow
* Longbow
|group5 = Staves
|list5 =
* Basic Staff
* Wizard's Staff
}}
| ||||||||||
Template Data
Template that creates a standard navigation box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Text that appears at the top of the navbox. | String | suggested |
| Striped | striped | Controls if the navbox rows should have zebra striping on even or odd rows, making it easier for users to distinguish two rows apart from each other. If sections are used, each section resets the even/odd counter.
| String | suggested |
| Edit link | edit_link | Controls if an edit icon should be displayed at the top-left of the navbox, making it easier for users to interact with the template itself.
| String | optional |
| State | state collapsible | Controls if a navbox should be expanded or collapsed when the page loads. This only affects the whole navbox; if sections are used, they are treated differently.
| String | optional |
| Header n | headern header1 header2 header3 | Text that appears at the top of the section, where n is any positive integer. | String | optional |
| Group n | groupn group1 group2 group3 | Text label for a list, which appears on the left on desktop or at the top on mobile, where n is any positive integer. | String | optional |
| List n | listn list1 list2 list3 | A wikitext list, where n is any positive integer. | Content | optional |
| Group n.x | groupn.x group1.1 group1.2 group2.1.1 | Text label for sub-lists that appear under groupn, groupn.x, etc. | String | optional |
| List n.x | listn.x list1.1 list1.2 list2.1.1 | Wikitext sub-lists. | Content | optional |