Template:Sidebar with collapsible lists: Difference between revisions

From Vigyanwiki
Template>Uzume
(example template view markup similar to what side bar has)
Template>Frietjes
(moved example to documentation page)
Line 8: Line 8:
| cellpadding    = {{{cellpadding|0}}}
| cellpadding    = {{{cellpadding|0}}}


| outertitle      = {{{outertitle<includeonly>|</includeonly>}}}
| outertitle      = {{{outertitle|}}}
| outertitleclass = {{{outertitleclass|}}}
| outertitleclass = {{{outertitleclass|}}}
| outertitlestyle = {{{outerttitlestyle|}}}
| outertitlestyle = {{{outerttitlestyle|}}}


| topimage        = {{{topimage<includeonly>|</includeonly>}}}
| topimage        = {{{topimage|}}}
| topimageclass  = {{{topimageclass|}}}
| topimageclass  = {{{topimageclass|}}}
| topimagestyle  = {{{topimagestyle|}}}
| topimagestyle  = {{{topimagestyle|}}}
| topcaption      = {{{topcaption<includeonly>|</includeonly>}}}
| topcaption      = {{{topcaption|}}}
| topcaptionstyle = {{{topcaptionstyle|}}}
| topcaptionstyle = {{{topcaptionstyle|}}}


| pretitle        = {{{pretitle<includeonly>|</includeonly>}}}
| pretitle        = {{{pretitle|}}}
| pretitleclass  = {{{pretitleclass|}}}
| pretitleclass  = {{{pretitleclass|}}}
| pretitlestyle  = {{{pretitlestyle|}}}
| pretitlestyle  = {{{pretitlestyle|}}}
| title          = {{{title<includeonly>|</includeonly>}}}
| title          = {{{title|}}}
| titleclass      = {{{titleclass|}}}
| titleclass      = {{{titleclass|}}}
| titlestyle      = {{{titlestyle|}}}
| titlestyle      = {{{titlestyle|}}}


| image          = {{{image<includeonly>|</includeonly>}}}
| image          = {{{image|}}}
| imageclass      = {{{imageclass|}}}
| imageclass      = {{{imageclass|}}}
| imagestyle      = {{{imagestyle|}}}
| imagestyle      = {{{imagestyle|}}}
| caption        = {{{caption<includeonly>|</includeonly>}}}
| caption        = {{{caption|}}}
| captionstyle    = {{{captionstyle|}}}
| captionstyle    = {{{captionstyle|}}}


| aboveclass      = {{{aboveclass<includeonly>|</includeonly>}}}
| aboveclass      = {{{aboveclass|}}}
| abovestyle      = border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; {{{abovestyle|}}}
| abovestyle      = border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; {{{abovestyle|}}}
| above          = {{{above|}}}
| above          = {{{above|}}}
Line 41: Line 41:


| heading1style  = {{{heading1style|}}}
| heading1style  = {{{heading1style|}}}
| heading1        = {{{heading1<includeonly>|</includeonly>}}}
| heading1        = {{{heading1|}}}
| content1style  = {{{content1style|}}}
| content1style  = {{{content1style|}}}
| content1        = {{#if:{{{list1|}}}|
| content1        = {{#if:{{{list1|}}}|
Line 53: Line 53:
                       | 1 = {{{list1}}}
                       | 1 = {{{list1}}}
                       }}|
                       }}|
                       {{{content1<includeonly>|</includeonly>}}}
                       {{{content1|}}}
                     }}
                     }}


| heading2style  = {{{heading2style|}}}
| heading2style  = {{{heading2style|}}}
| heading2        = {{{heading2<includeonly>|</includeonly>}}}
| heading2        = {{{heading2|}}}
| content2style  = {{{content2style|}}}
| content2style  = {{{content2style|}}}
| content2        = {{#if:{{{list2<includeonly>|</includeonly>}}}|
| content2        = {{#if:{{{list2|}}}|
                       {{Sidebar with collapsible lists/row
                       {{Sidebar with collapsible lists/row
                       | framestyle = {{#if:{{{listframestyle|}}}{{{list2framestyle|}}}|{{{listframestyle|}}}; {{{list2framestyle|}}}}}
                       | framestyle = {{#if:{{{listframestyle|}}}{{{list2framestyle|}}}|{{{listframestyle|}}}; {{{list2framestyle|}}}}}
                       | title      = {{{list2title<includeonly>|</includeonly>}}}
                       | title      = {{{list2title|}}}
                       | titlestyle = {{#if:{{{listtitlestyle|}}}{{{list2titlestyle|}}}|{{{listtitlestyle|}}}; {{{list2titlestyle|}}}}}
                       | titlestyle = {{#if:{{{listtitlestyle|}}}{{{list2titlestyle|}}}|{{{listtitlestyle|}}}; {{{list2titlestyle|}}}}}
                       | listclass  = {{{listclass|}}} {{{list2class|}}}
                       | listclass  = {{{listclass|}}} {{{list2class|}}}
                       | liststyle  = {{#if:{{{liststyle|}}}{{{list2style|}}}|{{{liststyle|}}}; {{{list2style|}}}}}
                       | liststyle  = {{#if:{{{liststyle|}}}{{{list2style|}}}|{{{liststyle|}}}; {{{list2style|}}}}}
                       | expand    = {{#switch:{{{expanded|}}}|all|{{{list2name<noinclude>|#default</noinclude>}}}=y}}
                       | expand    = {{#switch:{{{expanded|}}}|all|{{{list2name|}}}=y}}
                       | 1 = {{{list2}}}
                       | 1 = {{{list2}}}
                       }}|
                       }}|
Line 73: Line 73:


| heading3style  = {{{heading3style|}}}
| heading3style  = {{{heading3style|}}}
| heading3        = {{{heading3<includeonly>|</includeonly>}}}
| heading3        = {{{heading3|}}}
| content3style  = {{{content3style|}}}
| content3style  = {{{content3style|}}}
| content3        = {{#if:{{{list3|}}}|
| content3        = {{#if:{{{list3|}}}|
Line 85: Line 85:
                       | 1 = {{{list3}}}
                       | 1 = {{{list3}}}
                       }}|
                       }}|
                       {{{content3<includeonly>|</includeonly>}}}
                       {{{content3|}}}
                     }}
                     }}


Line 101: Line 101:
                       | 1 = {{{list4}}}
                       | 1 = {{{list4}}}
                       }}|
                       }}|
                       {{{content4|<noinclude>................</noinclude>}}}
                       {{{content4|}}}
                     }}
                     }}


Line 286: Line 286:
| belowclass      = {{{belowclass|}}}
| belowclass      = {{{belowclass|}}}
| belowstyle      = border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; {{{belowstyle|}}}
| belowstyle      = border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; {{{belowstyle|}}}
| below          = {{{below<includeonly>|</includeonly>}}}
| below          = {{{below|}}}


| navbar          = {{{navbar|{{{tnavbar|<noinclude>none</noinclude>}}}}}}
| navbar          = {{{navbar|{{{tnavbar|<noinclude>none</noinclude>}}}}}}
Line 292: Line 292:
| navbaroptions  = {{{navbaroptions|{{{tnavbaroptions|}}}}}}
| navbaroptions  = {{{navbaroptions|{{{tnavbaroptions|}}}}}}


}}<includeonly>{{#if:{{{content1|}}}{{{content2|}}}{{{content3|}}}{{{content4|}}}{{{content5|}}}{{{content6|}}}{{{content7|}}}{{{content8|}}}{{{content9|}}}{{{content10|}}}{{{content11|}}}{{{content12|}}}{{{content13|}}}{{{content14|}}}{{{content15|}}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:collapsible list sidebars using content rows]]}}}}</includeonly><noinclude>{{documentation}}<!-- Please add category and language links to the <includeonly> section at the bottom of [[Template:Sidebar with collapsible lists/doc]] page, not here --></noinclude>
}}{{#if:{{{content1|}}}{{{content2|}}}{{{content3|}}}{{{content4|}}}{{{content5|}}}{{{content6|}}}{{{content7|}}}{{{content8|}}}{{{content9|}}}{{{content10|}}}{{{content11|}}}{{{content12|}}}{{{content13|}}}{{{content14|}}}{{{content15|}}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:collapsible list sidebars using content rows]]}}}}<noinclude>{{documentation}}<!-- Please add category and language links to the section at the bottom of [[Template:Sidebar with collapsible lists/doc]] page, not here --></noinclude>

Revision as of 02:34, 3 March 2012

Template documentation