Template:Sidebar with collapsible headers: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) (From Template:Sidebar and https://en.wikipedia.org/w/index.php?title=Template:Sidebar_with_collapsible_lists&oldid=544228431) |
Red Leader (talk | contribs) (Begin editing; still need to add more rows) |
||
Line 24: | Line 24: | ||
<td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work --> | <td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work --> | ||
{{{above}}}</td> | {{{above}}}</td> | ||
}}{{#if: {{{heading1|}}} | }}<!-- | ||
-->{{#if: {{{heading1|}}} | |||
| {{#if: {{{content1|}}} | |||
| <tr><td>{{Sidebar with collapsible headers/content | |||
}} | | {{{heading1}}} | ||
{{{ | | {{{content1}}} | ||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
| headingstyle = {{{headingstyle|}}}; {{{heading1style|}}} | |||
</tr> | | contentclass = {{{contentclass|}}} | ||
}}{{#if: {{{heading2|}}}| | | contentstyle = {{{contentstyle|}}}; {{{content1style|}}} | ||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{heading2|x}}} | |||
{{{ | | {{#if: {{{content2|x}}} | ||
| <tr><td>{{Sidebar with collapsible headers/content | |||
| {{{heading2}}} | |||
{{{ | | {{{content2}}} | ||
| {{{state|}}} | |||
}}{{ | | headingclass = {{{headingclass|}}} | ||
<tr> | | headingstyle = {{{headingstyle|}}}; {{{heading2style|}}} | ||
< | | contentclass = {{{contentclass|}}} | ||
| contentstyle = {{{contentstyle|}}}; {{{content2style|}}} | |||
}} | }}</td></tr> | ||
{{{ | }} | ||
}}<!-- | |||
-->{{#if: {{{heading3|x}}} | |||
{{{ | | {{#if: {{{content3|x}}} | ||
| <tr><td>{{Sidebar with collapsible headers/content | |||
}}{{ | | {{{heading3}}} | ||
<tr> | | {{{content3}}} | ||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
| headingstyle = {{{headingstyle|}}}; {{{heading3style|}}} | |||
{{{content4|}}}| | | contentclass = {{{contentclass|}}} | ||
<tr> | | contentstyle = {{{contentstyle|}}}; {{{content3style|}}} | ||
<td | }}</td></tr> | ||
{{{ | }} | ||
}}<!-- | |||
-->{{#if: {{{heading4|x}}} | |||
| {{#if: {{{content4|x}}} | |||
| <tr><td>{{Sidebar with collapsible headers/content | |||
</tr> | | {{{heading4}}} | ||
}}{{#if: | | {{{content4}}} | ||
{{{content5|}}}| | | {{{state|}}} | ||
<tr> | | headingclass = {{{headingclass|}}} | ||
<td | | headingstyle = {{{headingstyle|}}}; {{{heading4style|}}} | ||
{{{ | | contentclass = {{{contentclass|}}} | ||
| contentstyle = {{{contentstyle|}}}; {{{content4style|}}} | |||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
</tr> | -->{{#if: {{{heading5|x}}} | ||
}}{{#if: | | {{#if: {{{content5|x}}} | ||
{{{content6|}}}| | | <tr><td>{{Sidebar with collapsible headers/content | ||
<tr> | | {{{heading5}}} | ||
<td | | {{{content5}}} | ||
{{{ | | {{{state|}}} | ||
| headingclass = {{{headingclass|}}} | |||
}}{{ | | headingstyle = {{{headingstyle|}}}; {{{heading5style|}}} | ||
| contentclass = {{{contentclass|}}} | |||
| contentstyle = {{{contentstyle|}}}; {{{content5style|}}} | |||
</tr> | }}</td></tr> | ||
}}{{#if: | }} | ||
{{{content7|}}}| | }}<!-- | ||
<tr> | -->{{#if: {{{heading6|x}}} | ||
<td | | {{#if: {{{content6|x}}} | ||
{{{ | | <tr><td>{{Sidebar with collapsible headers/content | ||
| {{{heading6}}} | |||
| {{{content6}}} | |||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
</tr> | | headingstyle = {{{headingstyle|}}}; {{{heading6style|}}} | ||
}}{{#if: | | contentclass = {{{contentclass|}}} | ||
{{{content8|}}}| | | contentstyle = {{{contentstyle|}}}; {{{content6style|}}} | ||
<tr> | }}</td></tr> | ||
<td | }} | ||
{{{ | }}<!-- | ||
-->{{#if: {{{heading7|x}}} | |||
}}{{ | | {{#if: {{{content7|x}}} | ||
| <tr><td>{{Sidebar with collapsible headers/content | |||
| {{{heading7}}} | |||
</tr> | | {{{content7}}} | ||
}}{{#if: | | {{{state|}}} | ||
{{{content9|}}}| | | headingclass = {{{headingclass|}}} | ||
<tr> | | headingstyle = {{{headingstyle|}}}; {{{heading7style|}}} | ||
<td | | contentclass = {{{contentclass|}}} | ||
{{{ | | contentstyle = {{{contentstyle|}}}; {{{content7style|}}} | ||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{heading8|x}}} | |||
</tr> | | {{#if: {{{content8|x}}} | ||
}}{{#if: | | <tr><td>{{Sidebar with collapsible headers/content | ||
{{{content10|}}}| | | {{{heading8}}} | ||
<tr> | | {{{content8}}} | ||
<td | | {{{state|}}} | ||
{{{ | | headingclass = {{{headingclass|}}} | ||
| headingstyle = {{{headingstyle|}}}; {{{heading8style|}}} | |||
}}{{ | | contentclass = {{{contentclass|}}} | ||
| contentstyle = {{{contentstyle|}}}; {{{content8style|}}} | |||
}}</td></tr> | |||
</tr> | }} | ||
}}{{#if: | }}<!-- | ||
{{{content11|}}}| | -->{{#if: {{{heading9|x}}} | ||
<tr> | | {{#if: {{{content9|x}}} | ||
<td | | <tr><td>{{Sidebar with collapsible headers/content | ||
{{{ | | {{{heading9}}} | ||
| {{{content9}}} | |||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
| headingstyle = {{{headingstyle|}}}; {{{heading9style|}}} | |||
</tr> | | contentclass = {{{contentclass|}}} | ||
}}{{#if: | | contentstyle = {{{contentstyle|}}}; {{{content9style|}}} | ||
{{{content12|}}}| | }}</td></tr> | ||
<tr> | }} | ||
<td | }}<!-- | ||
{{{ | -->{{#if: {{{heading10|x}}} | ||
| {{#if: {{{content10|x}}} | |||
}}{{ | | <tr><td>{{Sidebar with collapsible headers/content | ||
| {{{heading10}}} | |||
| {{{content10}}} | |||
</tr> | | {{{state|}}} | ||
}} | | headingclass = {{{headingclass|}}} | ||
| headingstyle = {{{headingstyle|}}}; {{{heading10style|}}} | |||
| contentclass = {{{contentclass|}}} | |||
| contentstyle = {{{contentstyle|}}}; {{{content10style|}}} | |||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{heading11|x}}} | |||
| {{#if: {{{content11|x}}} | |||
| <tr><td>{{Sidebar with collapsible headers/content | |||
| {{{heading11}}} | |||
| {{{content11}}} | |||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
| headingstyle = {{{headingstyle|}}}; {{{heading11style|}}} | |||
| contentclass = {{{contentclass|}}} | |||
| contentstyle = {{{contentstyle|}}}; {{{content11style|}}} | |||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{heading12|x}}} | |||
| {{#if: {{{content12|x}}} | |||
| <tr><td>{{Sidebar with collapsible headers/content | |||
| {{{heading12}}} | |||
| {{{content12}}} | |||
| {{{state|}}} | |||
| headingclass = {{{headingclass|}}} | |||
| headingstyle = {{{headingstyle|}}}; {{{heading12style|}}} | |||
| contentclass = {{{contentclass|}}} | |||
| contentstyle = {{{contentstyle|}}}; {{{content12style|}}} | |||
}}</td></tr> | |||
}} | |||
}}<!-- | |||
Below | |||
-->{{#if: {{{below|}}}| | |||
<tr> | <tr> | ||
<td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}"> | <td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}"> |
Revision as of 11:35, 11 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
- Pre-Lua Template:Sidebar on en.wikipedia.