Template:Navbox with collapsible groups: Difference between revisions

    From Nonbinary Wiki
    (fix issue with section5 param)
     
    (22 intermediate revisions by 9 users not shown)
    Line 1: Line 1:
    {{Navbox
    {{#invoke:Navbox with collapsible groups|navbox}}<noinclude>
    |name = {{{name|<noinclude>Navbox with collapsible groups</noinclude>}}}
    |navbar = {{{navbar|}}}
    |state = {{{state|<noinclude>uncollapsed</noinclude>}}}
    |border = {{{border|{{{1|}}}}}}
     
    |title = {{{title<includeonly>|</includeonly>}}}
    |above = {{{above|}}}
    |below = {{{below|}}}
    |image = {{{image|}}}
    |imageleft = {{{imageleft|}}}
     
    |style = {{{style|}}}{{{bodystyle|}}}
    |basestyle = {{{basestyle|}}}
    |titlestyle = {{{titlestyle|}}}
    |abovestyle = {{{abovestyle|}}}
    |belowstyle = {{{belowstyle|}}}
    |imagestyle = {{{imagestyle|}}}
    |imageleftstyle = {{{imageleftstyle|}}}
     
    |bodyclass = {{{bodyclass|}}}
    |titleclass = {{{titleclass|}}}
     
    |list1 =
    {{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list1style|}}}{{{content1style|}}}
        |title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}<noinclude> or {{{section1}}} or {{{sect1}}}</noinclude>
        |list1 = {{{list1<includeonly>|</includeonly>}}}{{{content1|}}}<noinclude> or {{{content1}}}</noinclude>
        |image = {{{image1|}}}
        |imageleft = {{{imageleft1|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list1|}}}{{{content1|}}}
    }}
     
    |list2 =
    {{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list2style|}}}{{{content2style|}}}
        |title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}<noinclude> or {{{section2}}} or {{{sect2}}}</noinclude>
        |list1 = {{{list2<includeonly>|</includeonly>}}}{{{content2|}}}<noinclude> or {{{content2}}}</noinclude>
        |image = {{{image2|}}}
        |imageleft = {{{imageleft2|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list2|}}}{{{content2|}}}
    }}
     
    |list3 =
    {{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list3style|}}}{{{content3style|}}}
        |title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}<noinclude> or {{{section3}}} or {{{sect3}}}</noinclude>
        |list1 = {{{list3<includeonly>|</includeonly>}}}{{{content3|}}}<noinclude> or {{{content3}}}</noinclude>
        |image = {{{image3|}}}
        |imageleft = {{{imageleft3|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list3|}}}{{{content3|}}}
    }}
     
    |list4 =
    {{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list4style|}}}{{{content4style|}}}
        |title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}<noinclude> or {{{section4}}} or {{{sect4}}}</noinclude>
        |list1 = {{{list4<includeonly>|</includeonly>}}}{{{content4|}}}<noinclude> or {{{content4}}}</noinclude>
        |image = {{{image4|}}}
        |imageleft = {{{imageleft4|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list4|}}}{{{content4|}}}
    }}
     
    |list5 =
    {{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list5style|}}}{{{content5style|}}}
        |title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}<noinclude> or {{{section5}}} or {{{sect5}}}</noinclude>
        |list1 = {{{list5<includeonly>|</includeonly>}}}{{{content5|}}}<noinclude> or {{{content5}}}</noinclude>
        |image = {{{image5|}}}
        |imageleft = {{{imageleft5|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list5|}}}{{{content5|}}}
    }}
     
    |list6 =
    {{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list6style|}}}{{{content6style|}}}
        |title = {{{group6|}}}{{{sect6|}}}{{{section6|}}}
        |list1 = {{{list6|}}}{{{content6|}}}
        |image = {{{image6|}}}
        |imageleft = {{{imageleft6|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list6|}}}{{{content6|<noinclude>''(...etc, to group11/sect11/section11 and list11/content11)''</noinclude>}}}
    }}
     
    |list7 =
    {{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list7style|}}}{{{content7style|}}}
        |title = {{{group7|}}}{{{sect7|}}}{{{section7|}}}
        |list1 = {{{list7|}}}{{{content7|}}}
        |image = {{{image7|}}}
        |imageleft = {{{imageleft7|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list7|}}}{{{content7|}}}
    }}
     
    |list8 =
    {{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list8style|}}}{{{content8style|}}}
        |title = {{{group8|}}}{{{sect8|}}}{{{section8|}}}
        |list1 = {{{list8|}}}{{{content8|}}}
        |image = {{{image8|}}}
        |imageleft = {{{imageleft8|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list8|}}}{{{content8|}}}
    }}
     
    |list9 =
    {{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list9style|}}}{{{content9style|}}}
        |title = {{{group9|}}}{{{sect9|}}}{{{section9|}}}
        |list1 = {{{list9|}}}{{{content9|}}}
        |image = {{{image9|}}}
        |imageleft = {{{imageleft9|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list9|}}}{{{content9|}}}
    }}
     
    |list10 =
    {{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list10style|}}}{{{content10style|}}}
        |title = {{{group10|}}}{{{sect10|}}}{{{section10|}}}
        |list1 = {{{list10|}}}{{{content10|}}}
        |image = {{{image10|}}}
        |imageleft = {{{imageleft10|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list10|}}}{{{content10|}}}
    }}
     
    |list11 =
    {{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
    | {{Navbox|child
        |state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
        |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}}
        |liststyle  = {{{liststyle|}}}{{{list11style|}}}{{{content11style|}}}
        |title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
        |list1 = {{{list11|}}}{{{content11|}}}
        |image = {{{image11|}}}
        |imageleft = {{{imageleft11|}}}
        |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
      }}
    | {{{list11|}}}{{{content11|}}}
    }}
    }}<noinclude>
    {{documentation}}
    {{documentation}}
    </noinclude>
    </noinclude>

    Latest revision as of 11:40, 21 May 2021

    Template documentation[create]