Template:Navbox: Difference between revisions

From HorizonXI Wiki
(added css classes option per row)
m (conditioning on individual rows so they can be commented out without hiding everything from there on)
Line 13: Line 13:
{{!}}  
{{!}}  
{{{list2}}}
{{{list2}}}
<!--
}}<!--
-->{{#if: {{{group3|}}}{{{list3|}}}|
-->{{#if: {{{group3|}}}{{{list3|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 20: Line 20:
{{!}}
{{!}}
{{{list3}}}
{{{list3}}}
<!--
}}<!--
-->{{#if: {{{group4|}}}{{{list4|}}}|
-->{{#if: {{{group4|}}}{{{list4|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 27: Line 27:
{{!}}
{{!}}
{{{list4}}}
{{{list4}}}
<!--
}}<!--
-->{{#if: {{{group5|}}}{{{list5|}}}|
-->{{#if: {{{group5|}}}{{{list5|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 34: Line 34:
{{!}}
{{!}}
{{{list5}}}
{{{list5}}}
<!--
}}<!--
-->{{#if: {{{group6|}}}{{{list6|}}}|
-->{{#if: {{{group6|}}}{{{list6|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 41: Line 41:
{{!}}
{{!}}
{{{list6}}}
{{{list6}}}
<!--
}}<!--
-->{{#if: {{{group7|}}}{{{list7|}}}|
-->{{#if: {{{group7|}}}{{{list7|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 48: Line 48:
{{!}}  
{{!}}  
{{{list7}}}
{{{list7}}}
<!--
}}<!--
-->{{#if: {{{group8|}}}{{{list8|}}}|
-->{{#if: {{{group8|}}}{{{list8|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 55: Line 55:
{{!}}
{{!}}
{{{list8}}}
{{{list8}}}
<!--
}}<!--
-->{{#if: {{{group9|}}}{{{list9|}}}|
-->{{#if: {{{group9|}}}{{{list9|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 62: Line 62:
{{!}}
{{!}}
{{{list9}}}
{{{list9}}}
<!--
}}<!--
-->{{#if: {{{group10|}}}{{{list10|}}}|
-->{{#if: {{{group10|}}}{{{list10|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 69: Line 69:
{{!}}
{{!}}
{{{list10}}}
{{{list10}}}
<!--
}}<!--
-->{{#if: {{{group11|}}}{{{list11|}}}|
-->{{#if: {{{group11|}}}{{{list11|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 76: Line 76:
{{!}}
{{!}}
{{{list11}}}
{{{list11}}}
<!--
}}<!--
-->{{#if: {{{group12|}}}{{{list12|}}}|
-->{{#if: {{{group12|}}}{{{list12|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 83: Line 83:
{{!}}
{{!}}
{{{list12}}}
{{{list12}}}
<!--
}}<!--
-->{{#if: {{{group13|}}}{{{list13|}}}|
-->{{#if: {{{group13|}}}{{{list13|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 90: Line 90:
{{!}}
{{!}}
{{{list13}}}
{{{list13}}}
<!--
}}<!--
-->{{#if: {{{group14|}}}{{{list14|}}}|
-->{{#if: {{{group14|}}}{{{list14|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 97: Line 97:
{{!}}
{{!}}
{{{list14}}}
{{{list14}}}
<!--
}}<!--
-->{{#if: {{{group15|}}}{{{list15|}}}|
-->{{#if: {{{group15|}}}{{{list15|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 104: Line 104:
{{!}}
{{!}}
{{{list15}}}
{{{list15}}}
<!--
}}<!--
-->{{#if: {{{group16|}}}{{{list16|}}}|
-->{{#if: {{{group16|}}}{{{list16|}}}|
<nowiki> </nowiki>
<nowiki> </nowiki>
Line 111: Line 111:
{{!}}
{{!}}
{{{list16}}}
{{{list16}}}
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
}}
|}
|}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 18:41, 14 July 2025

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]]
}}