Template:Navbox with collapsible groups: Difference between revisions

    From Nonbinary Wiki
    (restore change, but without sub-navbars that don't work since the sub-navboxes don't have names)
    (plain to center groups)
    Line 29: Line 29:
    {{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
    {{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 45: Line 45:
    {{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
    {{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 61: Line 61:
    {{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
    {{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 77: Line 77:
    {{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
    {{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 93: Line 93:
    {{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
    {{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 109: Line 109:
    {{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
    {{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 125: Line 125:
    {{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
    {{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 141: Line 141:
    {{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
    {{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 157: Line 157:
    {{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
    {{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 173: Line 173:
    {{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
    {{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 189: Line 189:
    {{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
    {{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 205: Line 205:
    {{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
    {{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 221: Line 221:
    {{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
    {{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 237: Line 237:
    {{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
    {{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 253: Line 253:
    {{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
    {{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 269: Line 269:
    {{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
    {{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 285: Line 285:
    {{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
    {{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 301: Line 301:
    {{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
    {{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 317: Line 317:
    {{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
    {{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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 333: Line 333:
    {{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
    {{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
      | {{#invoke:navbox|navbox|child
      | {{#invoke:navbox|navbox|child
         |navbar = off
         |navbar = plain
         |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|}}}

    Revision as of 15:27, 8 June 2014

    Template documentation[create]