Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

Template:Sidebar with collapsible headers

5,043 bytes removed, 11:47, 19 December 2015
<includeonly><table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|right}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|right}}}}; background-color: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; {{#switch:{{{float|}}}|left = margin: 0 1em 1em 0;| none | right | #default = margin: 0 0 1em 1em;}} padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{#if:{{{cellpadding|}}}|{{{cellpadding}}}|0}}">{{#if: {{{outertitle|}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
}}{{#if: {{{topimage|}}}|
<tr>
<td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work -->
{{{above}}}</td>
}}{{#if: {{{heading1|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; ->{{#if: {{{imagecontent1|}}}|padding-top: 0.4em;}} {{{headingstyle|}}};{{{heading1style|}}}">{{{heading1}}}</thtr></trtd>}} {{#if:Sidebar with collapsible headers/content | id = 1 | content ={{{content1|}}}|<tr><td class="{{{contentclass |}}}" styleheading ="{{#if: {{{heading1|{{{heading|}}}}}} ||padding-top: 0.2em;}} padding-bottom: 0.2em; state = {{{contentstylestate|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work -->{{{content1}}}</td></tr>}}{{#if: {{{heading2 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading2styleheading1style|}}}">{{{heading2}}}</th></tr>}}{{#if:{{{content2 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content2stylecontent1style|}}}">{{{content2} }} </td></tr>}}{{#if: {{{heading3|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading3style|}}}"->{{{heading3}}}</th></tr>}}{{#if:{{{content3content2|}}}|| <tr><td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content3style|}}}"> {{{content3}}}<Sidebar with collapsible headers/td>content</tr>}}{{#if: {{{heading4|}}} |id = 2<tr><th class="{{{headingclass |}}}" stylecontent ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading4style|}}}">{{{heading4}}}</th></tr>}}{{#if:{{{content4|content2}}}|<tr><td class="{{{contentclass |}}}" styleheading ="padding-bottom: 0.2em; {{{contentstyleheading2|}}};{{{content4style |}}}">state = {{{content4state|}}}</td></tr>}}{{#if: {{{heading5 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading5styleheading2style|}}}">{{{heading5}}}</th></tr>}}{{#if:{{{content5 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content5stylecontent2style|}}}">{{{content5} }} </td></tr>}}<!---->{{#if: {{{heading6content3|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading6style|}}}"td> {{{heading6}}}<Sidebar with collapsible headers/th>content</tr> | id = 3}}{{#if: | content ={{{content6|content3}}} |<tr><td classheading ="{{{contentclassheading3|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content6style|}}}">{{{content6}}}</td></tr>}}{{#if: {{{heading7 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading7styleheading3style|}}}">{{{heading7}}}</th></tr>}}{{#if:{{{content7 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content7stylecontent3style|}}}">{{{content7} }} </td></tr>}}<!---->{{#if: {{{heading8content4|}}}|<tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading8style|}}}"td> {{{heading8}}}<Sidebar with collapsible headers/th>content</tr> | id = 4}}{{#if: | content ={{{content8|content4}}} |<tr><td classheading ="{{{contentclassheading4|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content8style|}}}">{{{content8}}}</td></tr>}}{{#if: {{{heading9 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading9styleheading4style|}}}">{{{heading9}}}</th></tr>}}{{#if:{{{content9 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content9stylecontent4style|}}}">{{{content9} }} </td></tr>}}<!---->{{#if: {{{heading10content5|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading10style|}}}"td> {{{heading10}}}<Sidebar with collapsible headers/th>content</tr> | id = 5}}{{#if: | content ={{{content10|content5}}} |<tr><td classheading ="{{{contentclassheading5|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content10style|}}}">{{{content10}}}</td></tr>}}{{#if: {{{heading11 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading11styleheading5style|}}}">{{{heading11}}}</th></tr>}}{{#if:{{{content11 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content11stylecontent5style|}}}">{{{content11} }} </td></tr>}}<!---->{{#if: {{{heading12content6|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading12style|}}}"td> {{{heading12}}}<Sidebar with collapsible headers/th>content</tr> | id = 6}}{{#if: | content ={{{content12|content6}}} |<tr><td classheading ="{{{contentclassheading6|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content12style|}}}">{{{content12}}}</td></tr>}}{{#if: {{{heading13 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading13styleheading6style|}}}">{{{heading13}}}</th></tr>}}{{#if:{{{content13 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content13stylecontent6style|}}}">{{{content13} }} </td></tr>}}<!---->{{#if: {{{heading14content7|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading14style|}}}"td> {{{heading14}}}<Sidebar with collapsible headers/th>content</tr> | id = 7}}{{#if: | content ={{{content14|content7}}} |<tr><td classheading ="{{{contentclassheading7|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content14style|}}}">{{{content14}}}</td></tr>}}{{#if: {{{heading15 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading15styleheading7style|}}}">{{{heading15}}}</th></tr>}}{{#if:{{{content15 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content15stylecontent7style|}}}">{{{content15} }} </td></tr>}}<!---->{{#if: {{{heading16content8|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading16style|}}}"td> {{{heading16}}}<Sidebar with collapsible headers/th>content</tr> | id = 8}}{{#if: | content ={{{content16|content8}}} |<tr><td classheading ="{{{contentclassheading8|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content16style|}}}">{{{content16}}}</td></tr>}}{{#if: {{{heading17 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading17styleheading8style|}}}">{{{heading17}}}</th></tr>}}{{#if:{{{content17 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content17stylecontent8style|}}}">{{{content17} }} </td></tr>}}<!---->{{#if: {{{heading18content9|}}}|<tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading18style|}}}"td> {{{heading18}}}<Sidebar with collapsible headers/th>content</tr> | id = 9}}{{#if: | content ={{{content18|content9}}} |<tr><td classheading ="{{{contentclassheading9|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content18style|}}}">{{{content18}}}</td></tr>}}{{#if: {{{heading19 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading19styleheading9style|}}}">{{{heading19}}}</th></tr>}}{{#if:{{{content19 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content19stylecontent9style|}}}">{{{content19} }} </td></tr>}}<!---->{{#if: {{{heading20content10|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading20style|}}}"td> {{{heading20}}}<Sidebar with collapsible headers/th>content</tr> | id = 10}}{{#if: | content ={{{content20|content10}}} |<tr><td classheading ="{{{contentclassheading10|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content20style|}}}">{{{content20}}}</td></tr>}}{{#if: {{{heading21 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading21styleheading10style|}}}">{{{heading21}}}</th></tr>}}{{#if:{{{content21 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content21stylecontent10style|}}}">{{{content21} }} </td></tr>}}<!---->{{#if: {{{heading22content11|}}}|| <tr><th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading22style|}}}"td> {{{heading22}}}<Sidebar with collapsible headers/th>content</tr> | id = 11}}{{#if: | content ={{{content22|content11}}} |<tr><td classheading ="{{{contentclassheading11|}}}" style | state ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content22style|}}}">{{{content22}}}</td></tr>}}{{#if: {{{heading23 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading23styleheading11style|}}}">{{{heading23}}}</th></tr>}}{{#if:{{{content23 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content23stylecontent1style|}}}">{{{content23} }} </td></tr>}}{{#if: {{{heading24|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading24style|}}}"->{{{heading24}}}</th></tr>}}{{#if:{{{content24content12|}}}|<tr><td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content24style|}}}"> {{{content24}}}<Sidebar with collapsible headers/td>content</tr>}}{{#if: {{{heading25|}}} |id = 12<tr><th class="{{{headingclass |}}}" stylecontent ="padding-top: 0.2em; {{{headingstyle|content12}}};{{{heading25style |}}}">heading = {{{heading25}}}</th></tr>}}{{#if:{{{content25heading12|}}}|<tr><td class="{{{contentclass |}}}" stylestate ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content25style|}}}">{{{content25}}}</td></tr>}}{{#if: {{{heading26 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading26styleheading12style|}}}">{{{heading26}}}</th></tr>}}{{#if:{{{content26 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content26stylecontent12style|}}}">{{{content26} }} </td></tr>}}{{#if: {{{heading27|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading27style|}}}"->{{{heading27}}}</th></tr>}}{{#if:{{{content27content13|}}}|| <tr><td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content27style|}}}"> {{{content27}}}<Sidebar with collapsible headers/td>content</tr>}}{{#if: {{{heading28|}}} |id = 13<tr><th class="{{{headingclass |}}}" stylecontent ="padding-top: 0.2em; {{{headingstyle|content13}}};{{{heading28style |}}}">heading = {{{heading28}}}</th></tr>}}{{#if:{{{content28heading13|}}}|<tr><td class="{{{contentclass |}}}" stylestate ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content28style|}}}">{{{content28}}}</td></tr>}}{{#if: {{{heading29 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading29styleheading13style|}}}">{{{heading29}}}</th></tr>}}{{#if:{{{content29 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content29stylecontent13style|}}}">{{{content29} }} </td></tr>}}{{#if: {{{heading30|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading30style|}}}"->{{{heading30}}}</th></tr>}}{{#if:{{{content30content14|}}}|| <tr><td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content30style|}}}"> {{{content30}}}<Sidebar with collapsible headers/td>content</tr>}}{{#if: {{{heading31|}}} |id = 14<tr><th class="{{{headingclass |}}}" stylecontent ="padding-top: 0.2em; {{{headingstyle|content14}}};{{{heading31style |}}}">heading = {{{heading31}}}</th></tr>}}{{#if:{{{content31heading14|}}}|<tr><td class="{{{contentclass |}}}" stylestate ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content31style|}}}">{{{content31}}}</td></tr>}}{{#if: {{{heading32 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading32styleheading14style|}}}">{{{heading32}}}</th></tr>}}{{#if:{{{content32 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content32stylecontent14style|}}}">{{{content32} }} </td></tr>}}{{#if: {{{heading33|}}}|<tr>!--<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading33style|}}}"->{{{heading33}}}</th></tr>}}{{#if:{{{content33content15|}}}|| <tr><td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}}; {{content33style|}}}"> {{{content33}}}<Sidebar with collapsible headers/td>content</tr>}}{{#if: {{{heading34|}}} |id = 15<tr><th class="{{{headingclass |}}}" stylecontent ="padding-top: 0.2em; {{{headingstyle|content15}}};{{{heading34style |}}}">heading = {{{heading34}}}</th></tr>}}{{#if:{{{content34heading15|}}}|<tr><td class="{{{contentclass |}}}" stylestate ="padding-bottom: 0.2em; {{{contentstylestate|}}};{{{content34style|}}}">{{{content34}}}</td></tr>}}{{#if: {{{heading35 |}}}|<tr><th classheadingclass ="{{{headingclass|}}}" style | headingstyle ="padding-top: 0.2em; {{{headingstyle|}}};{{{heading35styleheading15style|}}}">{{{heading35}}}</th></tr>}}{{#if:{{{content35 |}}}|<tr><td classcontentclass ="{{{contentclass|}}}" style | contentstyle ="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content35stylecontent15style|}}}">{{{content35} }} </td></tr>}}<!-- Below-->{{#if: {{{below|}}}|
<tr>
<td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}">
{{{below}}}</td>
</tr>
}}<!-- -->{{#if: {{{heading1|}}}{{{heading2|}}}{{{heading3|}}}{{{heading4|}}}{{{heading5|}}}{{{heading6|}}}{{{heading7|}}}{{{heading8|}}}{{{heading9|}}}{{{heading10|}}}{{{heading11|}}}{{{heading12|}}}{{{heading13|}}}{{{heading14|}}}{{{heading15|}}}| <tr><td style="text-align: center; font-size: 85%; color: grey"><i>(click on headings to toggle)</i></td></tr>}}<!-- -->{{#switch: {{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}
|none |off=
|#default=<tr>
<td style="text-align: right; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td>
</tr>}}
</table></includeonly><noinclude>{{Informative template |1=
== Goal ==
This is a template used by right side navigation box templates used for navigating article series and otherwise related articles. Unlike {{tl|sidebar}}, this template has collapsible headers (which are collapsed by default).

Navigation menu