Template:Navbox with collapsible groups: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(move docs to /doc)
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
 
Line 1: Line 1:
{{documentation}}
<onlyinclude>{{Navbox
|name={{{name|}}}
|navbar={{{navbar|}}}
|state={{{state|}}}
|border={{{border|{{{1|}}}}}}
|title={{{title|}}}
|above={{{above|}}}
|below={{{below|}}}
|image={{{image|}}}
|imageleft={{{imageleft|}}}
|style={{{style|}}}{{{bodystyle|}}} {{#if:{{{width|}}}|width:{{{width|}}};}}
|basestyle={{{basestyle|}}}
|titlestyle={{{titlestyle|}}}
|abovestyle={{{abovestyle|}}}
|belowstyle={{{belowstyle|}}}
|imagestyle={{{imagestyle|}}}
|imageleftstyle={{{imageleftstyle|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}


|list1 =
{{#if:{{{group1|}}}{{{sect1|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr1}}} ||{{{state1|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group1|}}}{{{sect1|}}}
    |list1 = {{{list1|}}}
    |image = {{{image1|}}}
    |imageleft = {{{imageleft1|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list1|}}}
}}
|list2 =
{{#if:{{{group2|}}}{{{sect2|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr2}}} ||{{{state2|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}
    |liststyle  = {{{liststyle|}}}{{{list2style|}}}
    |title = {{{group2|}}}{{{sect2|}}}
    |list1 = {{{list2|}}}
    |image = {{{image2|}}}
    |imageleft = {{{imageleft2|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list2|}}}
}}
|list3 =
{{#if:{{{group3|}}}{{{sect3|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr3}}} ||{{{state3|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}
    |liststyle  = {{{liststyle|}}}{{{list3style|}}}
    |title = {{{group3|}}}{{{sect3|}}}
    |list1 = {{{list3|}}}
    |image = {{{image3|}}}
    |imageleft = {{{imageleft3|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list3|}}}
}}
|list4 =
{{#if:{{{group4|}}}{{{sect4|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr4}}} ||{{{state4|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}
    |liststyle  = {{{liststyle|}}}{{{list4style|}}}
    |title = {{{group4|}}}{{{sect4|}}}
    |list1 = {{{list4|}}}
    |image = {{{image4|}}}
    |imageleft = {{{imageleft4|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list4|}}}
}}
|list5 =
{{#if:{{{group5|}}}{{{sect5|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr5}}} ||{{{state5|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}
    |liststyle  = {{{liststyle|}}}{{{list5style|}}}
    |title = {{{group5|}}}{{{sect5|}}}
    |list1 = {{{list5|}}}
    |image = {{{image5|}}}
    |imageleft = {{{imageleft5|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list5|}}}
}}
|list6 =
{{#if:{{{group6|}}}{{{sect6|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr6}}} ||{{{state6|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}
    |liststyle  = {{{liststyle|}}}{{{list6style|}}}
    |title = {{{group6|}}}{{{sect6|}}}
    |list1 = {{{list6|}}}
    |image = {{{image6|}}}
    |imageleft = {{{imageleft6|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list6|}}}
}}
|list7 =
{{#if:{{{group7|}}}{{{sect7|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr7}}} ||{{{state7|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}
    |liststyle  = {{{liststyle|}}}{{{list7style|}}}
    |title = {{{group7|}}}{{{sect7|}}}
    |list1 = {{{list7|}}}
    |image = {{{image7|}}}
    |imageleft = {{{imageleft7|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list7|}}}
}}
|list8 =
{{#if:{{{group8|}}}{{{sect8|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr8}}} ||{{{state8|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}
    |liststyle  = {{{liststyle|}}}{{{list8style|}}}
    |title = {{{group8|}}}{{{sect8|}}}
    |list1 = {{{list8|}}}
    |image = {{{image8|}}}
    |imageleft = {{{imageleft8|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list8|}}}
}}
|list9 =
{{#if:{{{group9|}}}{{{sect9|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr9}}} ||{{{state9|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}
    |liststyle  = {{{liststyle|}}}{{{list9style|}}}
    |title = {{{group9|}}}{{{sect9|}}}
    |list1 = {{{list9|}}}
    |image = {{{image9|}}}
    |imageleft = {{{imageleft9|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list9|}}}
}}
|list10 =
{{#if:{{{group10|}}}{{{sect10|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr10}}} ||{{{state10|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group10|}}}{{{sect10|}}}
    |list1 = {{{list10|}}}
    |image = {{{image10|}}}
    |imageleft = {{{imageleft10|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list10|}}}
}}
|list11 =
{{#if:{{{group11|}}}{{{sect11|}}}
|{{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr11}}} ||{{{state11|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group11|}}}{{{sect11|}}}
    |list1 = {{{list11|}}}
    |image = {{{image11|}}}
    |imageleft = {{{imageleft11|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
  }}
|{{{list11|}}}
}}
}}</onlyinclude>

Latest revision as of 18:23, 29 July 2015