- Description
- This template is used to create a basic navbox. Click here to see an extended version.
- Syntax
- Type
{{navbox|<...>}}
somewhere, with parameters as shown below. Note that "title" and "list1" are required, and everything else is optional. Creating a list without a corresponding group will make a centered list.
- Use the divider variables to add dividing lines. Note that "dividerX=false" or likewise will still create a divider; you have to omit the variable entirely if you don't want a dividing line.
- Sample output
{{navbox
|title = Navbox Example
|group1 = Eukaryota
|list1 = Sam Lane - Aidan Byrne - Bonnie Hallet - Daniel Fleming
|divider2 = yes
|group2 = Prokaryota
|list2 = Omar Waseem - Clara Lopes - Leonardo Liguori - Jacqueline Jones
|list3 = A list without a group
|divider3 = false
|group4 = Archaea
|list4 = Dawn Hopkins - Ash Thomas - David Wright - Anders Hallstrom
|footer = This is a footer
}}
Results in...
Navbox Example
|
Eukaryota
|
Sam Lane - Aidan Byrne - Bonnie Hallet - Daniel Fleming
|
Prokaryota
|
Omar Waseem - Clara Lopes - Leonardo Liguori - Jacqueline Jones
|
A list without a group
|
Archaea
|
Dawn Hopkins - Ash Thomas - David Wright - Anders Hallstrom
|
This is a footer
|
- Forcing a Centered List
{{navbox
|title=Navbox Example
|list text align=center
|group1=Triumvirate
|list1=Architect - Artificer - Arbiter
}}
Results in...
Navbox Example
|
Triumvirate
|
Architect - Artificer - Arbiter
|
|
- Adding links to the template in the header
{{navbox
|title=Navbox Example
|navbox name=Navbox
}}
Results in...
Navbox Examplev · d · e
|
Groups
|
Benefactor's League - Chiasm Syndicate - Third Network
|
|