Template:Sidebar with collapsible lists: Difference between revisions

From Vigyanwiki
Template>Sardanaphalus
m (correction (conditional))
Template>Sardanaphalus
(allowing contentN as alternate to listN)
Line 37: Line 37:
|heading1 = {{{heading1|}}}
|heading1 = {{{heading1|}}}
|content1style = {{{content1style|}}}
|content1style = {{{content1style|}}}
|content1 =
|content1 = {{#if:{{{list1<includeonly>|</includeonly>}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list1framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list1framestyle|}}}
  |title      = {{{list1title<includeonly>|</includeonly>}}}
                |title      = {{{list1title<includeonly>|</includeonly>}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list1name}}} |display:inline;}} {{{liststyle|}}}{{{list1style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list1name}}} |display:inline;}} {{{liststyle|}}}{{{list1style|}}}
  | {{{list1<includeonly>|</includeonly>}}}
                | {{{list1}}}
}}
              }}
            | {{{content1|}}}
            }}


|heading2style = {{{heading2style|}}}
|heading2style = {{{heading2style|}}}
|heading2 = {{{heading2|}}}
|heading2 = {{{heading2|}}}
|content2style = {{{content2style|}}}
|content2style = {{{content2style|}}}
|content2 = {{#if:{{{list2<includeonly>|</includeonly>}}} |
|content2 = {{#if:{{{list2<includeonly>|</includeonly>}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list2framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list2framestyle|}}}
  |title      = {{{list2title<includeonly>|</includeonly>}}}
                |title      = {{{list2title<includeonly>|</includeonly>}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list2titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list2titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list2name}}} |display:inline;}} {{{liststyle|}}}{{{list2style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list2name}}} |display:inline;}} {{{liststyle|}}}{{{list2style|}}}
  | {{{list2<includeonly>|</includeonly>}}}
                | {{{list2}}}
}}<!------>}}
              }}
            | {{{content2|}}}
            }}


|heading3style = {{{heading3style|}}}
|heading3style = {{{heading3style|}}}
|heading3 = {{{heading3|}}}
|heading3 = {{{heading3|}}}
|content3style = {{{content3style|}}}
|content3style = {{{content3style|}}}
|content3 = {{#if:{{{list3<includeonly>|</includeonly>}}} |
|content3 = {{#if:{{{list3<includeonly>|</includeonly>}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list3framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list3framestyle|}}}
  |title      = {{{list3title<includeonly>|</includeonly>}}}
                |title      = {{{list3title<includeonly>|</includeonly>}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list3titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list3titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list3name}}} |display:inline;}} {{{liststyle|}}}{{{list3style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list3name}}} |display:inline;}} {{{liststyle|}}}{{{list3style|}}}
  | {{{list3<includeonly>|</includeonly>}}}
                | {{{list3}}}
}}<!------>}}
              }}
            | {{{content3|}}}
            }}


|heading4style = {{{heading4style|}}}
|heading4style = {{{heading4style|}}}
|heading4 = {{{heading4|}}}
|heading4 = {{{heading4|}}}
|content4style = {{{content4style|}}}
|content4style = {{{content4style|}}}
|content4 = <noinclude>''(......etc......)''</noinclude><includeonly><!--
|content4 = <noinclude>''(......etc......)''</noinclude><!--
        -->{{#if:{{{list4|}}} |
        --><includeonly><!--
{{Collapsible list
          -->{{#if:{{{list4|}}}
  |framestyle = {{{listframestyle|}}}{{{list4framestyle|}}}
              | {{Collapsible list
  |title      = {{{list4title|}}}
                |framestyle = {{{listframestyle|}}}{{{list4framestyle|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list4titlestyle|}}}
                |title      = {{{list4title|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list4name}}} |display:inline;}} {{{liststyle|}}}{{{list4style|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list4titlestyle|}}}
  | {{{list4|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list4name}}} |display:inline;}} {{{liststyle|}}}{{{list4style|}}}
}}<!------>}}</includeonly>
                | {{{list4}}}
                }}
              | {{{content4|}}}
            }}<!--
        --></includeonly>


|heading5style = {{{heading5style|}}}
|heading5style = {{{heading5style|}}}
|heading5 = {{{heading5|}}}
|heading5 = {{{heading5|}}}
|content5style = {{{content5style|}}}
|content5style = {{{content5style|}}}
|content5 = {{#if:{{{list5|}}} |
|content5 = {{#if:{{{list5|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list5framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list5framestyle|}}}
  |title      = {{{list5title|}}}
                |title      = {{{list5title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list5titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list5titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list5name}}} |display:inline;}} {{{liststyle|}}}{{{list5style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list5name}}} |display:inline;}} {{{liststyle|}}}{{{list5style|}}}
  | {{{list5|}}}
                | {{{list5}}}
}}<!------>}}
              }}
            | {{{content5|}}}
            }}


|heading6style = {{{heading6style|}}}
|heading6style = {{{heading6style|}}}
|heading6 = {{{heading6|}}}
|heading6 = {{{heading6|}}}
|content6style = {{{content6style|}}}
|content6style = {{{content6style|}}}
|content6 = {{#if:{{{list6|}}} |
|content6 = {{#if:{{{list6|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list6framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list6framestyle|}}}
  |title      = {{{list6title|}}}
                |title      = {{{list6title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list6titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list6titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list6name}}} |display:inline;}} {{{liststyle|}}}{{{list6style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list6name}}} |display:inline;}} {{{liststyle|}}}{{{list6style|}}}
  | {{{list6|}}}
                | {{{list6}}}
}}<!------>}}
              }}
            | {{{content6|}}}
            }}


|heading7style = {{{heading7style|}}}
|heading7style = {{{heading7style|}}}
|heading7 = {{{heading7|}}}
|heading7 = {{{heading7|}}}
|content7style = {{{content7style|}}}
|content7style = {{{content7style|}}}
|content7 = {{#if:{{{list7|}}} |
|content7 = {{#if:{{{list7|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list7framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list7framestyle|}}}
  |title      = {{{list7title|}}}
                |title      = {{{list7title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list7titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list7titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list7name}}} |display:inline;}} {{{liststyle|}}}{{{list7style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list7name}}} |display:inline;}} {{{liststyle|}}}{{{list7style|}}}
  | {{{list7|}}}
                | {{{list7}}}
}}<!------>}}
              }}
            | {{{content7|}}}
            }}


|heading8style = {{{heading8style|}}}
|heading8style = {{{heading8style|}}}
|heading8 = {{{heading8|}}}
|heading8 = {{{heading8|}}}
|content8style = {{{content8style|}}}
|content8style = {{{content8style|}}}
|content8 = {{#if:{{{list8|}}} |
|content8 = {{#if:{{{list8|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list8framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list8framestyle|}}}
  |title      = {{{list8title|}}}
                |title      = {{{list8title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list8titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list8titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list8name}}} |display:inline;}} {{{liststyle|}}}{{{list8style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list8name}}} |display:inline;}} {{{liststyle|}}}{{{list8style|}}}
  | {{{list8|}}}
                | {{{list8}}}
}}<!------>}}
              }}
            | {{{content8|}}}
            }}


|heading9style = {{{heading9style|}}}
|heading9style = {{{heading9style|}}}
|heading9 = {{{heading9|}}}
|heading9 = {{{heading9|}}}
|content9style = {{{content9style|}}}
|content9style = {{{content9style|}}}
|content9 = {{#if:{{{list9|}}} |
|content9 = {{#if:{{{list9|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list9framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list9framestyle|}}}
  |title      = {{{list9title|}}}
                |title      = {{{list9title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list9titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list9titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list9name}}} |display:inline;}} {{{liststyle|}}}{{{list9style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list9name}}} |display:inline;}} {{{liststyle|}}}{{{list9style|}}}
  | {{{list9|}}}
                | {{{list9}}}
}}<!------>}}
              }}
            | {{{content9|}}}
            }}


|heading10style = {{{heading10style|}}}
|heading10style = {{{heading10style|}}}
|heading10 = {{{heading10|}}}
|heading10 = {{{heading10|}}}
|content10style = {{{content10style|}}}
|content10style = {{{content10style|}}}
|content10 = {{#if:{{{list10|}}} |
|content10 = {{#if:{{{list10|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list10framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list10framestyle|}}}
  |title      = {{{list10title|}}}
                |title      = {{{list10title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list10titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list10titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list10name}}} |display:inline;}} {{{liststyle|}}}{{{list10style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list10name}}} |display:inline;}} {{{liststyle|}}}{{{list10style|}}}
  | {{{list10|}}}
                | {{{list10}}}
}}<!------->}}
              }}
            | {{{content10|}}}
            }}


|heading11style = {{{heading11style|}}}
|heading11style = {{{heading11style|}}}
|heading11 = {{{heading11|}}}
|heading11 = {{{heading11|}}}
|content11style = {{{content11style|}}}
|content11style = {{{content11style|}}}
|content11 = {{#if:{{{list11|}}} |
|content11 = {{#if:{{{list11|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list11framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list11framestyle|}}}
  |title      = {{{list11title|}}}
                |title      = {{{list11title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list11titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list11titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list11name}}} |display:inline;}} {{{liststyle|}}}{{{list11style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list11name}}} |display:inline;}} {{{liststyle|}}}{{{list11style|}}}
  | {{{list11|}}}
                | {{{list11}}}
}}<!------->}}
              }}
            | {{{content11|}}}
            }}


|heading12style = {{{heading12style|}}}
|heading12style = {{{heading12style|}}}
|heading12 = {{{heading12|}}}
|heading12 = {{{heading12|}}}
|content12style = {{{content12style|}}}
|content12style = {{{content12style|}}}
|content12 = {{#if:{{{list12|}}} |
|content12 = {{#if:{{{list12|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list12framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list12framestyle|}}}
  |title      = {{{list12title|}}}
                |title      = {{{list12title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list12titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list12titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list12name}}} |display:inline;}} {{{liststyle|}}}{{{list12style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list12name}}} |display:inline;}} {{{liststyle|}}}{{{list12style|}}}
  | {{{list12|}}}
                | {{{list12}}}
}}<!------->}}
              }}
            | {{{content12|}}}
            }}


|heading13style = {{{heading13style|}}}
|heading13style = {{{heading13style|}}}
|heading13 = {{{heading13|}}}
|heading13 = {{{heading13|}}}
|content13style = {{{content13style|}}}
|content13style = {{{content13style|}}}
|content13 = {{#if:{{{list13|}}} |
|content13 = {{#if:{{{list13|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list13framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list13framestyle|}}}
  |title      = {{{list13title|}}}
                |title      = {{{list13title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list13titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list13titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list13name}}} |display:inline;}} {{{liststyle|}}}{{{list13style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list13name}}} |display:inline;}} {{{liststyle|}}}{{{list13style|}}}
  | {{{list13|}}}
                | {{{list13}}}
}}<!------->}}
              }}
            | {{{content13|}}}
            }}


|heading14style = {{{heading14style|}}}
|heading14style = {{{heading14style|}}}
|heading14 = {{{heading14|}}}
|heading14 = {{{heading14|}}}
|content14style = {{{content14style|}}}
|content14style = {{{content14style|}}}
|content14 = {{#if:{{{list14|}}} |
|content14 = {{#if:{{{list14|}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list14framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list14framestyle|}}}
  |title      = {{{list14title|}}}
                |title      = {{{list14title|}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list14titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list14titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list14name}}} |display:inline;}} {{{liststyle|}}}{{{list14style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list14name}}} |display:inline;}} {{{liststyle|}}}{{{list14style|}}}
  | {{{list14|}}}
                | {{{list14}}}
}}<!------->}}
              }}
            | {{{content14|}}}
            }}
 


|heading15style = {{{heading15style|}}}
|heading15style = {{{heading15style|}}}
|heading15 = {{{heading15|}}}
|heading15 = {{{heading15|}}}
|content15style = {{{content15style|}}}
|content15style = {{{content15style|}}}
|content15 = {{#if:{{{list15<includeonly>|</includeonly>}}} |
|content15 = {{#if:{{{list15<includeonly>|</includeonly>}}}
{{Collapsible list
            | {{Collapsible list
  |framestyle = {{{listframestyle|}}}{{{list15framestyle|}}}
                |framestyle = {{{listframestyle|}}}{{{list15framestyle|}}}
  |title      = {{{list15title<includeonly>|</includeonly>}}}
                |title      = {{{list15title<includeonly>|</includeonly>}}}
  |titlestyle = {{{listtitlestyle|}}}{{{list15titlestyle|}}}
                |titlestyle = {{{listtitlestyle|}}}{{{list15titlestyle|}}}
  |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list15name}}} |display:inline;}} {{{liststyle|}}}{{{list15style|}}}
                |liststyle  = text-align:center; {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list15name}}} |display:inline;}} {{{liststyle|}}}{{{list15style|}}}
  | {{{list15<includeonly>|</includeonly>}}}
          | {{{list15}}}
}}<!------->}}
              }}
            | {{{content15|}}}
            }}
 


|tnavbarstyle  = {{{tnavbarstyle|}}}
|tnavbarstyle  = {{{tnavbarstyle|}}}

Revision as of 00:30, 26 September 2008

Template:Start sidebar page

Template:End sidebar page