Template:Sidebar with collapsible headers: Difference between revisions

(Updates + fixes)
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content1}}}
   | id = 1
   | {{{heading1|}}}
  | content =
{{{content1}}}
   | heading = {{{heading1|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 41: Line 43:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content2}}}
   | id = 2
   | {{{heading2|}}}
  | content =
{{{content2}}}
   | heading = {{{heading2|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 54: Line 58:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content3}}}
   | id = 3
   | {{{heading3|}}}
  | content =
{{{content3}}}
   | heading = {{{heading3|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 67: Line 73:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content4}}}
   | id = 4
   | {{{heading4|}}}
  | content =
{{{content4}}}
   | heading = {{{heading4|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 80: Line 88:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content5}}}
   | id = 5
   | {{{heading5|}}}
  | content =
{{{content5}}}
   | heading = {{{heading5|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 93: Line 103:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content6}}}
   | id = 6
   | {{{heading6|}}}
  | content =
{{{content6}}}
   | heading = {{{heading6|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 106: Line 118:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content7}}}
   | id = 7
   | {{{heading7|}}}
  | content =
{{{content7}}}
   | heading = {{{heading7|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 119: Line 133:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content8}}}
   | id = 8
   | {{{heading8|}}}
  | content =
{{{content8}}}
   | heading = {{{heading8|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 129: Line 145:
   </td></tr>
   </td></tr>
}}<!--
}}<!--
-->{{#if: {{{content1|}}}
-->{{#if: {{{content9|}}}
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content9}}}
   | id = 9
   | {{{heading9|}}}
  | content =
{{{content9}}}
   | heading = {{{heading9|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 145: Line 163:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content10}}}
   | id = 10
   | {{{heading10|}}}
  | content =
{{{content10}}}
   | heading = {{{heading10|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 158: Line 178:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content11}}}
   | id = 11
   | {{{heading11|}}}
  | content =
{{{content11}}}
   | heading = {{{heading11|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 171: Line 193:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content12}}}
   | id = 12
   | {{{heading12|}}}
  | content =
{{{content12}}}
   | heading = {{{heading12|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 184: Line 208:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content13}}}
   | id = 13
   | {{{heading13|}}}
  | content =
{{{content13}}}
   | heading = {{{heading13|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 197: Line 223:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content14}}}
   | id = 14
   | {{{heading14|}}}
  | content =
{{{content14}}}
   | heading = {{{heading14|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 210: Line 238:
| <tr><td>
| <tr><td>
   {{Sidebar with collapsible headers/content
   {{Sidebar with collapsible headers/content
   | {{{content15}}
   | id = 15
   | {{{heading15|}}}
  | content =
{{{content15}}
   | heading = {{{heading15|}}}
   | state = {{{state|}}}
   | state = {{{state|}}}
   | headingclass = {{{headingclass|}}}
   | headingclass = {{{headingclass|}}}
Line 226: Line 256:
{{{below}}}</td>
{{{below}}}</td>
</tr>
</tr>
}}{{#switch: {{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}
}}<!--
 
-->{{#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=
|none |off=
|#default=<tr>
|#default=<tr>

Latest revision as of 11:47, 19 December 2015

The following template description is not displayed when the template is inserted in an article.

Goal

This is a template used by right side navigation box templates used for navigating article series and otherwise related articles. Unlike {{sidebar}}, this template has collapsible headers (which are collapsed by default).

For more documentation, see Template:Sidebar.

Related templates

External links