Template:Navbox

From HorizonXI Wiki
Revision as of 19:07, 14 July 2025 by Aramachus (talk | contribs) (added special layout option where group 1 header does not exist)

Documentation

{{Navbox
| title = 
| template = 
| cssclasses = 
| group1 = 
| list1 =
| cssclasses1 = 
.
.
.
}}
  • title: title of the navbox
  • template: name of the template (for correct edit links on the box)
  • cssclasses: css classes on the box. (Mainly used for colors. Note: the box is a html table, therefore classes that assign colors to table elements is necessary)
  • group1: header of group 1
  • list1: elements of group 1, preferably as a list.
  • cssclasses1: Optional: css classes specifically on the row of group1/list1. (Mainly used for hiding ooe content with the appropriate classes, but can also be used in special cases for e.g. coloring.)
    Use group2...group16 with list2... list16 and cssclasses2... cssclasses16 for up to 16 entries.

Examples

{{Navbox
| title = [[:Category:ENM|ENM Navigation]]
| template = Enms
| cssclasses = bcnm-table
| group1 = Level 30
| list1 =
* [[You Are What You Eat]]
* [[Simulant]]
* [[Playing Host]]
| group2 = Level 40
| list2 =
* [[Fire in the Sky]]
* [[Bad Seed]]
* [[Test Your Mite]]
| group3 = Level 50
| list3 =
* [[Bugard in the Clouds]]
* [[Beloved of the Atlantes]]
* [[Pulling the Plug]]
| group4 = Level 60
| list4 =
* [[Pulling the Strings]]
* [[Automaton Assault]]
| group5 = Level 75
| list5 =
* [[Like the Wind]]
* [[When Hell Freezes Over]]
* [[Sheep in Antlion's Clothing]]
* [[Brothers]]
* [[Follow the White Rabbit]]
* [[Holy Cow]]
* [[Bionic Bug]]
* [[Shell We Dance?]]
* [[Totentanz]]
}}


{{Navbox
| title = [[:Category:Battlefields|Battlefields]]
| template = BattlefieldNavbox
| list1 = 
*[[:Category:BCNM|BCNM]]
*[[:Category:KSNM|KSNM]]
*[[:Category:ENM|ENM]]
*[[:Category:HENM|HENM]]{{changes}}
}}