Template:Navbox with collapsible groups: Difference between revisions

From Vigyanwiki
Template>WOSlinker
(fix issue with section5 param)
Template>MSGJ
(extending to 20, per request of User:117Avenue)
Line 109: Line 109:
     |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
     |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
   }}
  | {{{list6|}}}{{{content6|<noinclude>''(...etc, to group11/sect11/section11 and list11/content11)''</noinclude>}}}
  | {{{list6|}}}{{{content6|<noinclude>''(...etc, to group20/sect20/section20 and list20/content20)''</noinclude>}}}
}}
}}


Line 177: Line 177:
     |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|}}}
     |liststyle  = {{{liststyle|}}}{{{list11style|}}}{{{content11style|}}}
     |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list11style|}}}{{{content11style|}}}
     |title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
     |title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
     |list1 = {{{list11|}}}{{{content11|}}}
     |list1 = {{{list11|}}}{{{content11|}}}
Line 185: Line 185:
   }}
   }}
  | {{{list11|}}}{{{content11|}}}
  | {{{list11|}}}{{{content11|}}}
}}
|list12 =
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}{{{sect12titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list12style|}}}{{{content12style|}}}
    |title = {{{group12|}}}{{{sect12|}}}{{{section12|}}}
    |list1 = {{{list12|}}}{{{content12|}}}
    |image = {{{image12|}}}
    |imageleft = {{{imageleft12|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list12|}}}{{{content12|}}}
}}
|list13 =
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr13}}} |uncollapsed |{{{state13|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group13style|}}}{{{sect13titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list13style|}}}{{{content13style|}}}
    |title = {{{group13|}}}{{{sect13|}}}{{{section13|}}}
    |list1 = {{{list13|}}}{{{content13|}}}
    |image = {{{image13|}}}
    |imageleft = {{{imageleft13|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list13|}}}{{{content13|}}}
}}
|list14 =
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr14}}} |uncollapsed |{{{state14|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group14style|}}}{{{sect14titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list14style|}}}{{{content14style|}}}
    |title = {{{group14|}}}{{{sect14|}}}{{{section14|}}}
    |list1 = {{{list14|}}}{{{content14|}}}
    |image = {{{image14|}}}
    |imageleft = {{{imageleft14|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list14|}}}{{{content14|}}}
}}
|list15 =
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr15}}} |uncollapsed |{{{state15|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group15style|}}}{{{sect15titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list15style|}}}{{{content15style|}}}
    |title = {{{group15|}}}{{{sect15|}}}{{{section15|}}}
    |list1 = {{{list15|}}}{{{content15|}}}
    |image = {{{image15|}}}
    |imageleft = {{{imageleft15|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list15|}}}{{{content15|}}}
}}
|list16 =
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr16}}} |uncollapsed |{{{state16|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group16style|}}}{{{sect16titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list16style|}}}{{{content16style|}}}
    |title = {{{group16|}}}{{{sect16|}}}{{{section16|}}}
    |list1 = {{{list16|}}}{{{content16|}}}
    |image = {{{image16|}}}
    |imageleft = {{{imageleft16|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list16|}}}{{{content16|}}}
}}
|list17 =
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr17}}} |uncollapsed |{{{state17|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group17style|}}}{{{sect17titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list17style|}}}{{{content17style|}}}
    |title = {{{group17|}}}{{{sect17|}}}{{{section17|}}}
    |list1 = {{{list17|}}}{{{content17|}}}
    |image = {{{image17|}}}
    |imageleft = {{{imageleft17|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list17|}}}{{{content17|}}}
}}
|list18 =
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr18}}} |uncollapsed |{{{state18|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group18style|}}}{{{sect18titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list18style|}}}{{{content18style|}}}
    |title = {{{group18|}}}{{{sect18|}}}{{{section18|}}}
    |list1 = {{{list18|}}}{{{content18|}}}
    |image = {{{image18|}}}
    |imageleft = {{{imageleft18|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list18|}}}{{{content18|}}}
}}
|list19 =
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr19}}} |uncollapsed |{{{state19|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group19style|}}}{{{sect19titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list19style|}}}{{{content19style|}}}
    |title = {{{group19|}}}{{{sect19|}}}{{{section19|}}}
    |list1 = {{{list19|}}}{{{content19|}}}
    |image = {{{image19|}}}
    |imageleft = {{{imageleft19|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list19|}}}{{{content19|}}}
}}
|list20 =
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
| {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr20}}} |uncollapsed |{{{state20|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group20style|}}}{{{sect20titlestyle|}}}
    |liststyle  = {{{liststyle|}}}{{{contentstyle|}}}{{{list20style|}}}{{{content20style|}}}
    |title = {{{group20|}}}{{{sect20|}}}{{{section20|}}}
    |list1 = {{{list20|}}}{{{content20|}}}
    |image = {{{image20|}}}
    |imageleft = {{{imageleft20|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
| {{{list20|}}}{{{content20|}}}
}}
}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 21:40, 23 September 2011

Template documentation