Template:Navbox2: Difference between revisions
No edit summary Tag: sourceedit |
SlyAceZeta (talk | contribs) (changing class names to navbox2 (there is no JS or CSS that targets these classes anyway) to avoid interference with new navbox styling) |
||
Line 4: | Line 4: | ||
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- |
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- |
||
-->class=" |
-->class="navbox2" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- |
||
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- |
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- |
||
-->#default=collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- |
-->#default=collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- |
||
-->subgroup|child|none= |
-->subgroup|child|none=navbox2-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!-- |
||
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- |
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- |
||
Line 14: | Line 14: | ||
---Title and Navbar--- |
---Title and Navbar--- |
||
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!-- |
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!-- |
||
--><td class=" |
--><td class="navbox2-group" style="{{#var:tGSTYLES}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!-- |
||
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!-- |
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!-- |
||
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!-- |
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!-- |
||
-->class=" |
-->class="navbox2-title"><!-- |
||
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!-- |
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!-- |
||
Line 34: | Line 34: | ||
-->{{#if:{{{above|}}}|<!-- |
-->{{#if:{{{above|}}}|<!-- |
||
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- |
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- |
||
--><tr><td class=" |
--><tr><td class="navbox2-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> |
||
{{{above}}}</div></td></tr>}}<!-- |
{{{above}}}</div></td></tr>}}<!-- |
||
Line 45: | Line 45: | ||
-->{{#if:{{{imageleft|}}}|<!-- |
-->{{#if:{{{imageleft|}}}|<!-- |
||
--><td class=" |
--><td class="navbox2-image {{{imageclass|}}}" style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!-- |
||
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!-- |
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!-- |
||
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!-- |
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!-- |
||
Line 53: | Line 53: | ||
{{{imageleft}}}</div></td>}}<!-- |
{{{imageleft}}}</div></td>}}<!-- |
||
-->{{#if:{{{group1|}}}|<th scope="row" class=" |
-->{{#if:{{{group1|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!-- |
||
-->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}"> |
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}"> |
||
{{{list1}}}</div></td><!-- |
{{{list1}}}</div></td><!-- |
||
-->{{#if:{{{image|}}}|<!-- |
-->{{#if:{{{image|}}}|<!-- |
||
--><td class=" |
--><td class="navbox2-image {{{imageclass|}}}" style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!-- |
||
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!-- |
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!-- |
||
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!-- |
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!-- |
||
Line 77: | Line 77: | ||
-->{{#if:{{{list2|}}}|<!-- |
-->{{#if:{{{list2|}}}|<!-- |
||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- |
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- |
||
-->{{#if:{{{group2|}}}|<th scope="row" class=" |
-->{{#if:{{{group2|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- |
||
-->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list2}}}</div></td></tr>}}<!-- |
{{{list2}}}</div></td></tr>}}<!-- |
||
Line 87: | Line 87: | ||
-->{{#if:{{{list3|}}}|<!-- |
-->{{#if:{{{list3|}}}|<!-- |
||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- |
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- |
||
-->{{#if:{{{group3|}}}|<th scope="row" class=" |
-->{{#if:{{{group3|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- |
||
-->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list3}}}</div></td></tr>}}<!-- |
{{{list3}}}</div></td></tr>}}<!-- |
||
Line 97: | Line 97: | ||
-->{{#if:{{{list4|}}}|<!-- |
-->{{#if:{{{list4|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group4|}}}|<th scope="row" class=" |
-->{{#if:{{{group4|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- |
||
-->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list4}}}</div></td></tr>}}<!-- |
{{{list4}}}</div></td></tr>}}<!-- |
||
Line 107: | Line 107: | ||
-->{{#if:{{{list5|}}}|<!-- |
-->{{#if:{{{list5|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group5|}}}|<th scope="row" class=" |
-->{{#if:{{{group5|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- |
||
-->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list5}}}</div></td></tr>}}<!-- |
{{{list5}}}</div></td></tr>}}<!-- |
||
Line 117: | Line 117: | ||
-->{{#if:{{{list6|}}}|<!-- |
-->{{#if:{{{list6|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group6|}}}|<th scope="row" class=" |
-->{{#if:{{{group6|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- |
||
-->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list6}}}</div></td></tr>}}<!-- |
{{{list6}}}</div></td></tr>}}<!-- |
||
Line 127: | Line 127: | ||
-->{{#if:{{{list7|}}}|<!-- |
-->{{#if:{{{list7|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group7|}}}|<th scope="row" class=" |
-->{{#if:{{{group7|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- |
||
-->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list7}}}</div></td></tr>}}<!-- |
{{{list7}}}</div></td></tr>}}<!-- |
||
Line 137: | Line 137: | ||
-->{{#if:{{{list8|}}}|<!-- |
-->{{#if:{{{list8|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group8|}}}|<th scope="row" class=" |
-->{{#if:{{{group8|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- |
||
-->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list8}}}</div></td></tr>}}<!-- |
{{{list8}}}</div></td></tr>}}<!-- |
||
Line 147: | Line 147: | ||
-->{{#if:{{{list9|}}}|<!-- |
-->{{#if:{{{list9|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group9|}}}|<th scope="row" class=" |
-->{{#if:{{{group9|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- |
||
-->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list9}}}</div></td></tr>}}<!-- |
{{{list9}}}</div></td></tr>}}<!-- |
||
Line 157: | Line 157: | ||
-->{{#if:{{{list10|}}}|<!-- |
-->{{#if:{{{list10|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group10|}}}|<th scope="row" class=" |
-->{{#if:{{{group10|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- |
||
-->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list10}}}</div></td></tr>}}<!-- |
{{{list10}}}</div></td></tr>}}<!-- |
||
Line 167: | Line 167: | ||
-->{{#if:{{{list11|}}}|<!-- |
-->{{#if:{{{list11|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group11|}}}|<th scope="row" class=" |
-->{{#if:{{{group11|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- |
||
-->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list11}}}</div></td></tr>}}<!-- |
{{{list11}}}</div></td></tr>}}<!-- |
||
Line 177: | Line 177: | ||
-->{{#if:{{{list12|}}}|<!-- |
-->{{#if:{{{list12|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group12|}}}|<th scope="row" class=" |
-->{{#if:{{{group12|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- |
||
-->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list12}}}</div></td></tr>}}<!-- |
{{{list12}}}</div></td></tr>}}<!-- |
||
Line 187: | Line 187: | ||
-->{{#if:{{{list13|}}}|<!-- |
-->{{#if:{{{list13|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group13|}}}|<th scope="row" class=" |
-->{{#if:{{{group13|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- |
||
-->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list13}}}</div></td></tr>}}<!-- |
{{{list13}}}</div></td></tr>}}<!-- |
||
Line 197: | Line 197: | ||
-->{{#if:{{{list14|}}}|<!-- |
-->{{#if:{{{list14|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group14|}}}|<th scope="row" class=" |
-->{{#if:{{{group14|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- |
||
-->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list14}}}</div></td></tr>}}<!-- |
{{{list14}}}</div></td></tr>}}<!-- |
||
Line 207: | Line 207: | ||
-->{{#if:{{{list15|}}}|<!-- |
-->{{#if:{{{list15|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group15|}}}|<th scope="row" class=" |
-->{{#if:{{{group15|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- |
||
-->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list15}}}</div></td></tr>}}<!-- |
{{{list15}}}</div></td></tr>}}<!-- |
||
Line 217: | Line 217: | ||
-->{{#if:{{{list16|}}}|<!-- |
-->{{#if:{{{list16|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group16|}}}|<th scope="row" class=" |
-->{{#if:{{{group16|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- |
||
-->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list16}}}</div></td></tr>}}<!-- |
{{{list16}}}</div></td></tr>}}<!-- |
||
Line 227: | Line 227: | ||
-->{{#if:{{{list17|}}}|<!-- |
-->{{#if:{{{list17|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group17|}}}|<th scope="row" class=" |
-->{{#if:{{{group17|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- |
||
-->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list17}}}</div></td></tr>}}<!-- |
{{{list17}}}</div></td></tr>}}<!-- |
||
Line 237: | Line 237: | ||
-->{{#if:{{{list18|}}}|<!-- |
-->{{#if:{{{list18|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group18|}}}|<th scope="row" class=" |
-->{{#if:{{{group18|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- |
||
-->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list18}}}</div></td></tr>}}<!-- |
{{{list18}}}</div></td></tr>}}<!-- |
||
Line 247: | Line 247: | ||
-->{{#if:{{{list19|}}}|<!-- |
-->{{#if:{{{list19|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group19|}}}|<th scope="row" class=" |
-->{{#if:{{{group19|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- |
||
-->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list19}}}</div></td></tr>}}<!-- |
{{{list19}}}</div></td></tr>}}<!-- |
||
Line 257: | Line 257: | ||
-->{{#if:{{{list20|}}}|<!-- |
-->{{#if:{{{list20|}}}|<!-- |
||
--><tr style="height:2px"><td></td></tr><tr><!-- |
--><tr style="height:2px"><td></td></tr><tr><!-- |
||
-->{{#if:{{{group20|}}}|<th scope="row" class=" |
-->{{#if:{{{group20|}}}|<th scope="row" class="navbox2-group {{{groupclass|}}}" <!-- |
||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- |
||
-->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
-->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- |
||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!-- |
||
-->class=" |
-->class="navbox2-list navbox2-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> |
||
{{{list20}}}</div></td></tr>}}<!-- |
{{{list20}}}</div></td></tr>}}<!-- |
||
Line 269: | Line 269: | ||
-->{{#if:{{{below|}}}|<!-- |
-->{{#if:{{{below|}}}|<!-- |
||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- |
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- |
||
--><tr><td class=" |
--><tr><td class="navbox2-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- |
||
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> |
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> |
||
{{{below}}}</div></td></tr>}}<!-- |
{{{below}}}</div></td></tr>}}<!-- |
Revision as of 04:36, 3 April 2022
Description
This template is used as a base for other navbox templates. It invokes Module:Navbox and supports unlimited data sets.
Parameters
More parameters than the ones listed below are supported in the Module; for more information, see Dev Wiki's documentation. The documentation presented here is intended to be simplified for use on Subnautica Wiki.
parametern (for example, headern) allows the use of any number in place of n. For example, the first header will use the parameter header1, the second header2, and so on.
- title
- The main title of the navbox
- template
- The name of the template, which will be used to generate view/discuss/edit links
- state
- The
state
parameter controls the collapsing of the navbox itself.expanded
(default) sets the navbox to be expanded when the page is loaded, but it can then be collapsed by the user.collapsed
sets the navbox to be collapsed when the page is loaded, but it can then be expanded by the user. This is the standard behavior for navboxes on Subnautica Wiki.plain
sets the navbox to be expanded at all times without the ability to collapse it.
- above
- Adds a row that appears above all other rows and below the title
- headern
- Used to add subheaders to the navbox. Headers are hidden by default unless there are any list rows under them.
- groupn
- Contains the group label for a row. If not present, the corresponding list will expand to fill the gap.
- listn
- The actual list for the row
- below
- Adds a row that appears below all other rows
Boilerplate
{{Navbox | title = | template = | state = collapsed | above = | header1 = | group1 = | list1 = | below = }}