Template:Navbox with collapsible groups: Difference between revisions
reverse navbar parameter nesting (bug)
(Add {{{groupnavbar}}} and {{{navbar1-20)) parameters) |
(reverse navbar parameter nesting (bug)) |
||
Line 30: | Line 30: | ||
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}} | {{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar1|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}} | ||
Line 46: | Line 46: | ||
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}} | {{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar2|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}} | ||
Line 62: | Line 62: | ||
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}} | {{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar3|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}} | ||
Line 78: | Line 78: | ||
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}} | {{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar4|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}} | ||
Line 94: | Line 94: | ||
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}} | {{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar5|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}} | ||
Line 110: | Line 110: | ||
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}} | {{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar6|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}} | ||
Line 126: | Line 126: | ||
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}} | {{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar7|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}} | ||
Line 142: | Line 142: | ||
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}} | {{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar8|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}} | ||
Line 158: | Line 158: | ||
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}} | {{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar9|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}} | ||
Line 174: | Line 174: | ||
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}} | {{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar10|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}} | ||
Line 190: | Line 190: | ||
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}} | {{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar11|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}} | ||
Line 206: | Line 206: | ||
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}} | {{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar12|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}{{{sect12titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}{{{sect12titlestyle|}}} | ||
Line 222: | Line 222: | ||
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}} | {{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar13|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr13}}} |uncollapsed |{{{state13|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr13}}} |uncollapsed |{{{state13|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group13style|}}}{{{sect13titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group13style|}}}{{{sect13titlestyle|}}} | ||
Line 238: | Line 238: | ||
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}} | {{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar14|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr14}}} |uncollapsed |{{{state14|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr14}}} |uncollapsed |{{{state14|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group14style|}}}{{{sect14titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group14style|}}}{{{sect14titlestyle|}}} | ||
Line 254: | Line 254: | ||
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}} | {{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar15|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr15}}} |uncollapsed |{{{state15|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr15}}} |uncollapsed |{{{state15|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group15style|}}}{{{sect15titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group15style|}}}{{{sect15titlestyle|}}} | ||
Line 270: | Line 270: | ||
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}} | {{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar16|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr16}}} |uncollapsed |{{{state16|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr16}}} |uncollapsed |{{{state16|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group16style|}}}{{{sect16titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group16style|}}}{{{sect16titlestyle|}}} | ||
Line 286: | Line 286: | ||
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}} | {{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar17|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr17}}} |uncollapsed |{{{state17|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr17}}} |uncollapsed |{{{state17|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group17style|}}}{{{sect17titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group17style|}}}{{{sect17titlestyle|}}} | ||
Line 302: | Line 302: | ||
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}} | {{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar18|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr18}}} |uncollapsed |{{{state18|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr18}}} |uncollapsed |{{{state18|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group18style|}}}{{{sect18titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group18style|}}}{{{sect18titlestyle|}}} | ||
Line 318: | Line 318: | ||
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}} | {{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar19|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr19}}} |uncollapsed |{{{state19|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr19}}} |uncollapsed |{{{state19|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group19style|}}}{{{sect19titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group19style|}}}{{{sect19titlestyle|}}} | ||
Line 334: | Line 334: | ||
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}} | {{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}} | ||
| {{Navbox|child | | {{Navbox|child | ||
|navbar = {{{ | |navbar = {{{navbar20|{{{groupnavbar|}}}}}} | ||
|state = {{#ifeq:{{{selected}}}|{{{abbr20}}} |uncollapsed |{{{state20|collapsed}}}}} | |state = {{#ifeq:{{{selected}}}|{{{abbr20}}} |uncollapsed |{{{state20|collapsed}}}}} | ||
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group20style|}}}{{{sect20titlestyle|}}} | |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group20style|}}}{{{sect20titlestyle|}}} |