Template:Navbox
Jump to navigation
Jump to search
Table layout (
Horizontal layout (
Parameters
Below is the list of all available parameters. At least one list is required for the navbox to show up. Apart from that, all other parameters are optional.
Main
Title
– main title of the navbox.Links
– links that appear on left side of the title bar.- You can put any wikisyntax here.
Title
is required for it to work.
State
– should the navbox be collapsed or expanded by default- Values:
collapsed
orexpanded
(case insensitive) - Empty or unrecognized values will disable collapsing.
Title
is required for it to work
- Values:
Above
andBelow
– fields above and below sections and images.Left image
andRight image
– fields beside sections, most commonly used to add images.- You can put any content here, not only images.
Sections
Sections include all lists with the same or higher number up to the next section.
Header n
– heading of a section- n – any positive integer
- Requires at least one list to be included to show up
State n
– should the section be collapsed or expanded by default- n – number of an existing header
- Values:
collapsed
orexpanded
(case insensitive) - Empty or unrecognized values will disable collapsing.
Header state
– same as above, but affects all headers- Values:
collapsed
orexpanded
(case insensitive) - Empty or unrecognized values will disable collapsing.
- Can be overridden by
State n
- Values:
Layout n
– selects layout for that section- n – any positive integer
- Can be used without
Header n
to create a separate section without a header - Values:
table
orhorizontal
(case insensitive) - Empty or unrecognized values will use default (
table
).
Table layout (table
)
Standard layout with lists and sublists.
Left image n
andRight image n
– fields beside sections lists in that section, most commonly used to add images.- n – number of an existing header
- You can put any content here, not only images.
Horizontal layout (horizontal
)
Horizontal layout with lists forming columns. Sublists are not supported and will be treated as regular lists.
Per row n
– maximum number of lists per row.- n – number of an existing section.
- Value: any number above 1.
- Number of columns is still limited by space needed. You can't go higher than flexbox allows.
Span n
– how many columns should the list span.- n – number of an existing list.
- Value: any number between 0 and corresponding
Per row n
Lists
List n
– single row with a list of links- n – any positive integer
Group n
– heading of a list- n – number of an existing list or sublist
Sublists will appear as sub entries of the group with same n.
List n.m
– single row with a list of links- n and m – any positive integers
Group n.m
– heading of a sublist- n and m – numbers of an existing sublist
Styling
Navbox class
andNavbox style
– applied to the main navbox elementTitle class
andTitle style
– applied to the title barBase class
andBase style
– applied to all groups, subgroups, headers, above and below fieldsAbove class
andAbove style
– applied to the above fieldBelow class
andBelow style
– applied to the below fieldImage class
andImage style
– applied to all image fieldsLeft image class
andLeft image style
– applied to the main left image fieldRight image class
andRight image style
– applied to the main right image fieldHeader class
andHeader style
– applied to all headersHeader n class
andHeader n style
– applied to the header specified with nLeft image n class
andLeft image n style
– applied to the left image field in the section specified with nRight image n class
andRight image n style
– applied to the right image field in the section specified with nGroup class
andGroup style
– applied to all groupsSubgroup class
andSubgroup style
– applied to all subgroupsGroup n class
andGroup n style
– applied to the group specified with nGroup n.m class
andGroup n.m style
– applied to the subgroup specified with n and mList class
andList style
– applied to all listsList n class
andList n style
– applied to the list specified with nList n.m class
andList n.m style
– applied to the list specified with n and m