Template:Navbox with collapsible groups: Difference between revisions

From Vigyanwiki
Template>Plastikspork
(Add imageclass)
Template>Edokter
(Add {{{groupnavbar}}} and {{{navbar1-20)) parameters)
Line 30: Line 30:
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar1|}}}}}}
     |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 46:
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar2|}}}}}}
     |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 60: Line 62:
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar3|}}}}}}
     |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 75: Line 78:
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar4|}}}}}}
     |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 90: Line 94:
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar5|}}}}}}
     |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 105: Line 110:
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar6|}}}}}}
     |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 120: Line 126:
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar7|}}}}}}
     |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 135: Line 142:
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar8|}}}}}}
     |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 150: Line 158:
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar9|}}}}}}
     |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 165: Line 174:
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar10|}}}}}}
     |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 180: Line 190:
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar11|}}}}}}
     |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 195: Line 206:
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar12|}}}}}}
     |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 210: Line 222:
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar13|}}}}}}
     |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 225: Line 238:
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar14|}}}}}}
     |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 240: Line 254:
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar15|}}}}}}
     |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 255: Line 270:
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar16|}}}}}}
     |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 270: Line 286:
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar17|}}}}}}
     |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 285: Line 302:
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar18|}}}}}}
     |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 300: Line 318:
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar19|}}}}}}
     |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 315: Line 334:
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
  | {{Navbox|child
  | {{Navbox|child
    |navbar = {{{groupnavbar|{{{navbar20|}}}}}}
     |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 00:51, 7 February 2013

Template documentation