Template:Navbox with collapsible groups: Difference between revisions

From Vigyanwiki
Template>CapitalR
(interwikis belong on doc page)
Template>Sardanaphalus
(+alternate "sect" (section) parameters)
Line 19: Line 19:
|imageleftstyle = {{{imageleftstyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}


|list1 = {{#if:{{{group1<includeonly>|</includeonly>}}}|{{Navbox|child
|list1 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr1}}}|uncollapsed|{{{state1|collapsed}}}}}
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group1style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}}{{{list1style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
  |title = {{{group1<includeonly>|</includeonly>}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group1style|}}}
  |list1 = {{{list1<includeonly>|</includeonly>}}}
    |liststyle = {{{liststyle|}}}{{{list1style|}}}
  |image = {{{image1|}}}
    |title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
  |imageleft = {{{imageleft1|}}}
    |list1 = {{{list1<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image1|}}}
}}|{{{list1|}}}}}
    |imageleft = {{{imageleft1|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list1|}}}
}}


|list2 = {{#if:{{{group2<includeonly>|</includeonly>}}}|{{Navbox|child
|list2 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr2}}}|uncollapsed|{{{state2|collapsed}}}}}
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group2style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}}{{{list2style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
  |title = {{{group2<includeonly>|</includeonly>}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group2style|}}}
  |list1 = {{{list2<includeonly>|</includeonly>}}}
    |liststyle = {{{liststyle|}}}{{{list2style|}}}
  |image = {{{image2|}}}
    |title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
  |imageleft = {{{imageleft2|}}}
    |list1 = {{{list2<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image2|}}}
}}|{{{list2|}}}}}
    |imageleft = {{{imageleft2|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list2|}}}
}}


|list3 = {{#if:{{{group3<includeonly>|</includeonly>}}}|{{Navbox|child
|list3 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr3}}}|uncollapsed|{{{state3|collapsed}}}}}
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group3style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}}{{{list3style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
  |title = {{{group3<includeonly>|</includeonly>}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group3style|}}}
  |list1 = {{{list3<includeonly>|</includeonly>}}}
    |liststyle = {{{liststyle|}}}{{{list3style|}}}
  |image = {{{image3|}}}
    |title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
  |imageleft = {{{imageleft3|}}}
    |list1 = {{{list3<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image3|}}}
}}|{{{list3|}}}}}
    |imageleft = {{{imageleft3|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list3|}}}
}}


|list4 = {{#if:{{{group4|}}}|{{Navbox|child
|list4 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr4}}}|uncollapsed|{{{state4|collapsed}}}}}
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list4style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
  |title = {{{group4|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group4style|}}}
  |list1 = {{{list4|}}}
    |liststyle = {{{liststyle|}}}{{{list4style|}}}
  |image = {{{image4|}}}
    |title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
  |imageleft = {{{imageleft4|}}}
    |list1 = {{{list4<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image4|}}}
}}|{{{list4|}}}}}
    |imageleft = {{{imageleft4|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list4|}}}
}}


|list5 = {{#if:{{{group5|}}}|{{Navbox|child
|list5 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr5}}}|uncollapsed|{{{state5|collapsed}}}}}
{{#if:{{{group5|}}}{{{sect5|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list5style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
  |title = {{{group5|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group5style|}}}
  |list1 = {{{list5|}}}
    |liststyle = {{{liststyle|}}}{{{list5style|}}}
  |image = {{{image5|}}}
    |title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
  |imageleft = {{{imageleft5|}}}
    |list1 = {{{list5<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image5|}}}
}}|{{{list5|}}}}}
    |imageleft = {{{imageleft5|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list5|}}}
}}


|list6 = {{#if:{{{group6|}}}|{{Navbox|child
|list6 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr6}}}|uncollapsed|{{{state6|collapsed}}}}}
{{#if:{{{group6|}}}{{{sect6|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list6style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
  |title = {{{group6|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group6style|}}}
  |list1 = {{{list6|}}}
    |liststyle = {{{liststyle|}}}{{{list6style|}}}
  |image = {{{image6|}}}
    |title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
  |imageleft = {{{imageleft6|}}}
    |list1 = {{{list6<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image6|}}}
}}|{{{list6|}}}}}
    |imageleft = {{{imageleft6|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list6|}}}
}}


|list7 = {{#if:{{{group7|}}}|{{Navbox|child
|list7 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr7}}}|uncollapsed|{{{state7|collapsed}}}}}
{{#if:{{{group7|}}}{{{sect7|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list7style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
  |title = {{{group7|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group7style|}}}
  |list1 = {{{list7|}}}
    |liststyle = {{{liststyle|}}}{{{list7style|}}}
  |image = {{{image7|}}}
    |title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
  |imageleft = {{{imageleft7|}}}
    |list1 = {{{list7<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image7|}}}
}}|{{{list7|}}}}}
    |imageleft = {{{imageleft7|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list7|}}}
}}


|list8 = {{#if:{{{group8|}}}|{{Navbox|child
|list8 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr8}}}|uncollapsed|{{{state8|collapsed}}}}}
{{#if:{{{group8|}}}{{{sect8|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list8style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
  |title = {{{group8|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group8style|}}}
  |list1 = {{{list8|}}}
    |liststyle = {{{liststyle|}}}{{{list8style|}}}
  |image = {{{image8|}}}
    |title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
  |imageleft = {{{imageleft8|}}}
    |list1 = {{{list8<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image8|}}}
}}|{{{list8|}}}}}
    |imageleft = {{{imageleft8|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list8|}}}
}}


|list9 = {{#if:{{{group9|}}}|{{Navbox|child
|list9 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr9}}}|uncollapsed|{{{state9|collapsed}}}}}
{{#if:{{{group9|}}}{{{sect9|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list9style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
  |title = {{{group9|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group9style|}}}
  |list1 = {{{list9|}}}
    |liststyle = {{{liststyle|}}}{{{list9style|}}}
  |image = {{{image9|}}}
    |title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
  |imageleft = {{{imageleft9|}}}
    |list1 = {{{list9<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image9|}}}
}}|{{{list9|}}}}}
    |imageleft = {{{imageleft9|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list9|}}}
}}


|list10 = {{#if:{{{group10|}}}|{{Navbox|child
|list10 =
  |state = {{#ifeq:{{{selected}}}|{{{abbr10}}}|uncollapsed|{{{state10|collapsed}}}}}
{{#if:{{{group10|}}}{{{sect10|}}}
  |titlestyle = {{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}
| {{Navbox|child
  |liststyle = {{{liststyle|}}};{{{list10style|}}}
    |state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
  |title = {{{group10|}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{group10style|}}}
  |list1 = {{{list10|}}}
    |liststyle = {{{liststyle|}}}{{{list1style|}}}
  |image = {{{image10|}}}
    |title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
  |imageleft = {{{imageleft10|}}}
    |list1 = {{{list10<includeonly>|</includeonly>}}}
  |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
    |image = {{{image10|}}}
}}|{{{list10|}}}}}
    |imageleft = {{{imageleft10|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list10|}}}
}}


}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 00:15, 7 June 2008

Template documentation