Template:Sidebar with collapsible lists: Difference between revisions

From Vigyanwiki
Template>Sae1962
mNo edit summary
Template>Plastikspork
(Use a simplified version of Template:collapsible list, now a subtemplate, since we don't need the new <li> markup, and it causes problems here.)
Line 39: Line 39:
|content1style = {{{content1style|}}}
|content1style = {{{content1style|}}}
|content1 = {{#if:{{{list1<includeonly>|</includeonly>}}}
|content1 = {{#if:{{{list1<includeonly>|</includeonly>}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list1framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list1framestyle|}}}
                 |title      = {{{list1title<includeonly>|</includeonly>}}}
                 |title      = {{{list1title<includeonly>|</includeonly>}}}
                 |titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}}
                 |titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}}
                 |liststyle  = padding:0.2em 0 0.4em; text-align:center; {{{liststyle|}}}{{{list1style|}}}
                 |liststyle  = {{{liststyle|}}}{{{list1style|}}}
                 |expand    = {{#switch:{{{expanded|}}}|all|{{{list1name}}}=y}}
                 |expand    = {{#switch:{{{expanded|}}}|all|{{{list1name}}}=y}}
                 | {{{list1}}}
                 | {{{list1}}}
Line 54: Line 54:
|content2style = {{{content2style|}}}
|content2style = {{{content2style|}}}
|content2 = {{#if:{{{list2<includeonly>|</includeonly>}}}
|content2 = {{#if:{{{list2<includeonly>|</includeonly>}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list2framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list2framestyle|}}}
                 |title      = {{{list2title<includeonly>|</includeonly>}}}
                 |title      = {{{list2title<includeonly>|</includeonly>}}}
Line 69: Line 69:
|content3style = {{{content3style|}}}
|content3style = {{{content3style|}}}
|content3 = {{#if:{{{list3<includeonly>|</includeonly>}}}
|content3 = {{#if:{{{list3<includeonly>|</includeonly>}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list3framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list3framestyle|}}}
                 |title      = {{{list3title<includeonly>|</includeonly>}}}
                 |title      = {{{list3title<includeonly>|</includeonly>}}}
Line 86: Line 86:
         --><includeonly><!--
         --><includeonly><!--
           -->{{#if:{{{list4|}}}
           -->{{#if:{{{list4|}}}
               | {{Collapsible list
               | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list4framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list4framestyle|}}}
                 |title      = {{{list4title|}}}
                 |title      = {{{list4title|}}}
Line 102: Line 102:
|content5style = {{{content5style|}}}
|content5style = {{{content5style|}}}
|content5 = {{#if:{{{list5|}}}
|content5 = {{#if:{{{list5|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list5framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list5framestyle|}}}
                 |title      = {{{list5title|}}}
                 |title      = {{{list5title|}}}
Line 117: Line 117:
|content6style = {{{content6style|}}}
|content6style = {{{content6style|}}}
|content6 = {{#if:{{{list6|}}}
|content6 = {{#if:{{{list6|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list6framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list6framestyle|}}}
                 |title      = {{{list6title|}}}
                 |title      = {{{list6title|}}}
Line 132: Line 132:
|content7style = {{{content7style|}}}
|content7style = {{{content7style|}}}
|content7 = {{#if:{{{list7|}}}
|content7 = {{#if:{{{list7|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list7framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list7framestyle|}}}
                 |title      = {{{list7title|}}}
                 |title      = {{{list7title|}}}
Line 147: Line 147:
|content8style = {{{content8style|}}}
|content8style = {{{content8style|}}}
|content8 = {{#if:{{{list8|}}}
|content8 = {{#if:{{{list8|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list8framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list8framestyle|}}}
                 |title      = {{{list8title|}}}
                 |title      = {{{list8title|}}}
Line 162: Line 162:
|content9style = {{{content9style|}}}
|content9style = {{{content9style|}}}
|content9 = {{#if:{{{list9|}}}
|content9 = {{#if:{{{list9|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list9framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list9framestyle|}}}
                 |title      = {{{list9title|}}}
                 |title      = {{{list9title|}}}
Line 177: Line 177:
|content10style = {{{content10style|}}}
|content10style = {{{content10style|}}}
|content10 = {{#if:{{{list10|}}}
|content10 = {{#if:{{{list10|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list10framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list10framestyle|}}}
                 |title      = {{{list10title|}}}
                 |title      = {{{list10title|}}}
Line 192: Line 192:
|content11style = {{{content11style|}}}
|content11style = {{{content11style|}}}
|content11 = {{#if:{{{list11|}}}
|content11 = {{#if:{{{list11|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list11framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list11framestyle|}}}
                 |title      = {{{list11title|}}}
                 |title      = {{{list11title|}}}
Line 207: Line 207:
|content12style = {{{content12style|}}}
|content12style = {{{content12style|}}}
|content12 = {{#if:{{{list12|}}}
|content12 = {{#if:{{{list12|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list12framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list12framestyle|}}}
                 |title      = {{{list12title|}}}
                 |title      = {{{list12title|}}}
Line 222: Line 222:
|content13style = {{{content13style|}}}
|content13style = {{{content13style|}}}
|content13 = {{#if:{{{list13|}}}
|content13 = {{#if:{{{list13|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list13framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list13framestyle|}}}
                 |title      = {{{list13title|}}}
                 |title      = {{{list13title|}}}
Line 237: Line 237:
|content14style = {{{content14style|}}}
|content14style = {{{content14style|}}}
|content14 = {{#if:{{{list14|}}}
|content14 = {{#if:{{{list14|}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list14framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list14framestyle|}}}
                 |title      = {{{list14title|}}}
                 |title      = {{{list14title|}}}
Line 253: Line 253:
|content15style = {{{content15style|}}}
|content15style = {{{content15style|}}}
|content15 = {{#if:{{{list15<includeonly>|</includeonly>}}}
|content15 = {{#if:{{{list15<includeonly>|</includeonly>}}}
             | {{Collapsible list
             | {{Sidebar with collapsible lists/row
                 |framestyle = {{{listframestyle|}}}{{{list15framestyle|}}}
                 |framestyle = {{{listframestyle|}}}{{{list15framestyle|}}}
                 |title      = {{{list15title<includeonly>|</includeonly>}}}
                 |title      = {{{list15title<includeonly>|</includeonly>}}}

Revision as of 11:23, 28 March 2011

Template documentation