Difference between revisions of "Template:Sidebar"

From EVE University Wiki
Jump to: navigation, search
(Added comments to content parts of the Template to make spacing consistent)
m (Fix code break.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#CSS:
+
<includeonly>{{#CSS: Template:Sidebar/styles.css}}
.sbHeading
+
{{#ifeq:{{{child|}}} |yes
  {
+
|
  background-color: #4C4C4C;
+
  | <table class="sidebar {{#switch: {{{float|}}}
  padding: 0.1em;
+
                          | left= sidebar-floatleft
}
+
                          | none= sidebar-nofloat
 +
                        }} {{#ifeq: {{{wraplinks|}}} |true
 +
                            |
 +
                            | nowraplinks
 +
                            }} {{{bodyclass|{{{class|}}} }}}" <!--
 +
  -->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!--
 +
  -->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!--
 +
  -->style="{{#if:{{{width|}}} |width: {{{width}}}; }}<!--
 +
  -->{{{bodystyle|{{{style|}}} }}}"><!--
  
.sbContent
+
-->{{#if: {{{outertitle|}}}
{
+
    | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
  padding:0 0.1em 0.4em;
+
-->}}<!--
}
 
}}
 
{{#ifeq:{{{child|}}}|yes||<table class="vertical-navbox {{#ifeq:{{{wraplinks|}}}|true||nowraplinks}} {{{bodyclass|{{{class|}}}}}}" <!--
 
    -->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!--
 
    -->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!--
 
    -->style="float:{{#if:{{{float|}}} |{{{float}}} |right}};<!--
 
          -->clear:{{#ifeq:{{{float|}}}|none |both |{{#if:{{{float|}}} |{{{float}}} |right}}}};<!--
 
          -->width:{{#if:{{{width|}}} |{{{width}}} |16em}};<!--
 
            (margins:)-->{{#switch:{{{float|}}} |left=margin:0 1.0em 1.0em 0; |none|right|#default=margin:0 0 1.0em 1.0em;}}<!--
 
          -->border:1px solid #AAAAAA; padding:0.2em;border-spacing:0.4em 0; text-align:center; line-height:1.4em;font-size:88%; {{{bodystyle|{{{style|}}}}}}">}}<!--
 
  
-->{{#ifeq:{{{child|}}}|yes||{{#if:{{{outertitle|}}}
+
-->{{#if: {{{topimage|}}}
    |<caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em;font-size:125%;line-height:1.2em;font-weight:bold;{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
+
    | <tr>
-->}}}}<!--
+
      <td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!--
 +
        -->{{#if: {{{topcaption|}}}
 +
            |<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div>
 +
            }}
 +
      </td>
 +
    </tr>
 +
  }}<!--
  
-->{{#ifeq:{{{child|}}}|yes||{{#if:{{{topimage|}}}
+
-->{{#if:{{{pretitle|}}}
     |<tr><td class="{{{topimageclass|}}}" style="padding:0.4em 0;{{{topimagestyle|}}}">{{{topimage}}}<!--
+
     | <tr>
          -->{{#if:{{{topcaption|}}} |<div style="padding-top:0.2em;line-height:1.2em;{{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td>
+
        <td class="sidebar-pretitle{{#if: {{{topimage|}}} <!-- NO space between sidebar-pretitle and {{#if because -with-topimage need to be connected to sidebar-pretitle -->
 +
                    | -with-topimage
 +
                  }} {{{pretitleclass|}}}" style="{{{basestyle|}}}; {{{pretitlestyle|}}}"> {{{pretitle}}}
 +
      </td>
 
       </tr>
 
       </tr>
    }}}}<!--
+
  }}
 +
}}<!--
  
-->{{#ifeq:{{{child|}}}|yes||{{#if:{{{pretitle|}}}
+
-->{{#if: {{{title|}}}
    |<tr><td class="{{{pretitleclass|}}}" style="{{{basestyle|}}};{{#if:{{{topimage|}}} |padding-top:0.2em |padding-top:0.4em}};line-height:1.2em;{{{pretitlestyle|}}}">{{{pretitle}}}</td>
+
    | {{#ifeq:{{{child|}}} |yes
      </tr>
+
      | {{{title}}}
    }}}}<!--
+
      | <tr>
 
+
          <th class="sidebar-title{{#if: {{{pretitle|}}}
-->{{#if:{{{title|}}}
+
                                  | -with-pretitle
    |{{#ifeq:{{{child|}}}|yes||<tr><th class="{{{titleclass|}}}" style="{{{basestyle|}}};padding:0.2em 0.4em 0.2em; background:#101010; {{#if:{{{pretitle|}}} |padding-top:0}};font-size:145%;line-height:1.2em;{{{titlestyle|}}}">}}{{{title}}}</th>
+
                                  }} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}">
      </tr>
+
          {{{title}}}</th>
    }}<!--
+
          </tr>
 +
      }}
 +
  }}<!--
  
-->{{#if:{{{image|}}}
+
-->{{#if:{{{image|}}}
    |<tr><td class="{{{imageclass|}}}" style="padding:0.2em 0 0.4em; background:#101010; {{{imagestyle|}}}">{{{image}}}<!--
+
    | <tr>
          -->{{#if:{{{caption|}}} |<div style="padding-top:0.2em;line-height:1.2em;{{{captionstyle|}}}">{{{caption}}}</div>}}</td>
+
      <td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!--
 +
      -->{{#if:{{{caption|}}}
 +
          | <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div>
 +
          }}
 +
      </td>
 
       </tr>
 
       </tr>
    }}<!--
+
  }}<!--
  
-->{{#if:{{{above|}}}
+
-->{{#if:{{{above|}}}
    |<tr><td class="{{{aboveclass|}}}" style="padding:0.3em 0.4em 0.3em;font-weight:bold;{{{abovestyle|}}}"><!--newline required for bullet-points to work:-->
+
    | <tr>
 +
      <td class="sidebar-above {{{aboveclass|}}}" style="{{{abovestyle|}}}"><!--newline required for bullet-points to work:-->
 
{{{above}}}</td>
 
{{{above}}}</td>
 
       </tr>
 
       </tr>
    }}<!--
+
  }}<!--
  
 
  heading#/content# starts here:
 
  heading#/content# starts here:
  
-->{{#if: {{{heading1|}}}|
+
-->{{#if: {{{heading1|}}}|
 +
<tr>
 +
  <th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}}; {{{headingstyle|}}}; {{{heading1style|}}}">
 +
{{{heading1}}}</th>
 +
  </tr>
 +
}}{{#if:
 +
{{{content1|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading1style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}}; {{{content1style|}}}"><!-- newline required before contents# for bullets to work -->
{{{heading1}}}</th>
+
{{{content1}}}</td>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if: {{{heading2|}}}|
-->{{{content1|}}}|<!--
 
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work --><!--
 
-->{{{content1}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading2|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading2style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading2style|}}}">
 
{{{heading2}}}</th>
 
{{{heading2}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content2|}}}|<!--
+
{{{content2|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content2style|}}}"><!--
 
-->{{{content2}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading3|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading3style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content2style|}}}">
 +
{{{content2}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading3|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading3style|}}}">
 
{{{heading3}}}</th>
 
{{{heading3}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content3|}}}|<!--
+
{{{content3|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content3style|}}}"><!--
 
-->{{{content3}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading4|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading4style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content3style|}}}">
 +
{{{content3}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading4|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading4style|}}}">
 
{{{heading4}}}</th>
 
{{{heading4}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content4|}}}|<!--
+
{{{content4|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content4style|}}}"><!--
 
-->{{{content4|}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading5|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading5style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content4style|}}}">
 +
{{{content4|}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading5|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading5style|}}}">
 
{{{heading5}}}</th>
 
{{{heading5}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content5|}}}|<!--
+
{{{content5|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content5style|}}}"><!--
 
-->{{{content5}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading6|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading6style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content5style|}}}">
 +
{{{content5}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading6|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading6style|}}}">
 
{{{heading6}}}</th>
 
{{{heading6}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content6|}}}|<!--
+
{{{content6|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content6style|}}}"><!--
 
-->{{{content6}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading7|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading7style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content6style|}}}">
 +
{{{content6}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading7|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading7style|}}}">
 
{{{heading7}}}</th>
 
{{{heading7}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content7|}}}|<!--
+
{{{content7|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content7style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content7style|}}}">
-->{{{content7}}}</td><!--
+
{{{content7}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading8|}}}|
+
}}{{#if: {{{heading8|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading8style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading8style|}}}">
 
{{{heading8}}}</th>
 
{{{heading8}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content8|}}}|<!--
+
{{{content8|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content8style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content8style|}}}">
-->{{{content8}}}</td><!--
+
{{{content8}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading9|}}}|
+
}}{{#if: {{{heading9|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading9style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading9style|}}}">
 
{{{heading9}}}</th>
 
{{{heading9}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content9|}}}|<!--
+
{{{content9|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content9style|}}}"><!--
 
-->{{{content9}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading10|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading10style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content9style|}}}">
 +
{{{content9}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading10|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading10style|}}}">
 
{{{heading10}}}</th>
 
{{{heading10}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content10|}}}|<!--
+
{{{content10|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content10style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content10style|}}}">
-->{{{content10}}}</td><!--
+
{{{content10}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading11|}}}|
+
}}{{#if: {{{heading11|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading11style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading11style|}}}">
 
{{{heading11}}}</th>
 
{{{heading11}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content11|}}}|<!--
+
{{{content11|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content11style|}}}"><!--
 
-->{{{content11}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading12|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading12style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content11style|}}}">
 +
{{{content11}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading12|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading12style|}}}">
 
{{{heading12}}}</th>
 
{{{heading12}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content12|}}}|<!--
+
{{{content12|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content12style|}}}"><!--
 
-->{{{content12}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading13|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading13style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content12style|}}}">
 +
{{{content12}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading13|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading13style|}}}">
 
{{{heading13}}}</th>
 
{{{heading13}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content13|}}}|<!--
+
{{{content13|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content13style|}}}"><!--
 
-->{{{content13}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading14|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading14style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content13style|}}}">
 +
{{{content13}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading14|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading14style|}}}">
 
{{{heading14}}}</th>
 
{{{heading14}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content14|}}}|<!--
+
{{{content14|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content14style|}}}"><!--
 
-->{{{content14}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading15|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading15style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content14style|}}}">
 +
{{{content14}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading15|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading15style|}}}">
 
{{{heading15}}}</th>
 
{{{heading15}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content15|}}}|<!--
+
{{{content15|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style={{{contentstyle|}}};{{{content15style|}}}"><!--
 
-->{{{content15}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading16|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading16style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style={{{contentstyle|}}};{{{content15style|}}}">
 +
{{{content15}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading16|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading16style|}}}">
 
{{{heading16}}}</th>
 
{{{heading16}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content16|}}}|<!--
+
{{{content16|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content16style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content16style|}}}">
-->{{{content16}}}</td><!--
+
{{{content16}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading17|}}}|
+
}}{{#if: {{{heading17|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading17style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading17style|}}}">
 
{{{heading17}}}</th>
 
{{{heading17}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content17|}}}|<!--
+
{{{content17|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content17style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content17style|}}}">
-->{{{content17}}}</td><!--
+
{{{content17}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading18|}}}|
+
}}{{#if: {{{heading18|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading18style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading18style|}}}">
 
{{{heading18}}}</th>
 
{{{heading18}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content18|}}}|<!--
+
{{{content18|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content18style|}}}"><!--
 
-->{{{content18}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading19|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading19style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content18style|}}}">
 +
{{{content18}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading19|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading19style|}}}">
 
{{{heading19}}}</th>
 
{{{heading19}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content19|}}}|<!--
+
{{{content19|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content19style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content19style|}}}">
-->{{{content19}}}</td><!--
+
{{{content19}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading20|}}}|
+
}}{{#if: {{{heading20|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading20style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading20style|}}}">
 
{{{heading20}}}</th>
 
{{{heading20}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content20|}}}|<!--
+
{{{content20|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content20style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content20style|}}}">
-->{{{content20}}}</td><!--
+
{{{content20}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading21|}}}|
+
}}{{#if: {{{heading21|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading21style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading21style|}}}">
 
{{{heading21}}}</th>
 
{{{heading21}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content21|}}}|<!--
+
{{{content21|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content21style|}}}"><!--
 
-->{{{content21}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading22|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading22style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content21style|}}}">
 +
{{{content21}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading22|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading22style|}}}">
 
{{{heading22}}}</th>
 
{{{heading22}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content22|}}}|<!--
+
{{{content22|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content22style|}}}"><!--
 
-->{{{content22}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading23|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading23style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content22style|}}}">
 +
{{{content22}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading23|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading23style|}}}">
 
{{{heading23}}}</th>
 
{{{heading23}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content23|}}}|<!--
+
{{{content23|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content23style|}}}"><!--
 
-->{{{content23}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading24|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading24style|}}}">
+
<td class=sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content23style|}}}">
 +
{{{content23}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading24|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading24style|}}}">
 
{{{heading24}}}</th>
 
{{{heading24}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content24|}}}|<!--
+
{{{content24|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content24style|}}}"><!--
 
-->{{{content24}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading25|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading25style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content24style|}}}">
 +
{{{content24}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading25|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading25style|}}}">
 
{{{heading25}}}</th>
 
{{{heading25}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content25|}}}|<!--
+
{{{content25|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content25style|}}}"><!--
 
-->{{{content25}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading26|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading26style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content25style|}}}">
 +
{{{content25}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading26|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading26style|}}}">
 
{{{heading26}}}</th>
 
{{{heading26}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content26|}}}|<!--
+
{{{content26|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content26style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content26style|}}}">
-->{{{content26}}}</td><!--
+
{{{content26}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading27|}}}|
+
}}{{#if: {{{heading27|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading27style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading27style|}}}">
 
{{{heading27}}}</th>
 
{{{heading27}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content27|}}}|<!--
+
{{{content27|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content27style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content27style|}}}">
-->{{{content27}}}</td><!--
+
{{{content27}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading28|}}}|
+
}}{{#if: {{{heading28|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading28style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading28style|}}}">
 
{{{heading28}}}</th>
 
{{{heading28}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content28|}}}|<!--
+
{{{content28|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content28style|}}}"><!--
 
-->{{{content28}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading29|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading29style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content28style|}}}">
 +
{{{content28}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading29|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading29style|}}}">
 
{{{heading29}}}</th>
 
{{{heading29}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content29|}}}|<!--
+
{{{content29|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content29style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content29style|}}}">
-->{{{content29}}}</td><!--
+
{{{content29}}}</td>
--></tr><!--
+
</tr>
-->}}{{#if: {{{heading30|}}}|
+
}}{{#if: {{{heading30|}}}|
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading30style|}}}">
+
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading30style|}}}">
 
{{{heading30}}}</th>
 
{{{heading30}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content30|}}}|<!--
+
{{{content30|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content30style|}}}"><!--
 
-->{{{content30}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading31|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading31style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content30style|}}}">
 +
{{{content30}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading31|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading31style|}}}">
 
{{{heading31}}}</th>
 
{{{heading31}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content31|}}}|<!--
+
{{{content31|}}}|
--><tr><!--
 
--><td class="sbContent  {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content31style|}}}"><!--
 
-->{{{content31}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading32|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading32style|}}}">
+
<td class="sidebar-content  {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content31style|}}}">
 +
{{{content31}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading32|}}}|
 +
<tr>
 +
<th class="sidebar-hading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading32style|}}}">
 
{{{heading32}}}</th>
 
{{{heading32}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content32|}}}|<!--
+
{{{content32|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content32style|}}}"><!--
 
-->{{{content32}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading33|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading33style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content32style|}}}">
 +
{{{content32}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading33|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading33style|}}}">
 
{{{heading33}}}</th>
 
{{{heading33}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content33|}}}|<!--
+
{{{content33|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content33style|}}}"><!--
 
-->{{{content33}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading34|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading34style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content33style|}}}">
 +
{{{content33}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading34|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading34style|}}}">
 
{{{heading34}}}</th>
 
{{{heading34}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content34|}}}|<!--
+
{{{content34|}}}|
--><tr><!--
 
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content34style|}}}"><!--
 
-->{{{content34}}}</td><!--
 
--></tr><!--
 
-->}}{{#if: {{{heading35|}}}|
 
 
<tr>
 
<tr>
<th class="sbHeading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading35style|}}}">
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content34style|}}}">
 +
{{{content34}}}</td>
 +
</tr>
 +
}}{{#if: {{{heading35|}}}|
 +
<tr>
 +
<th class="sidebar-heading {{{headingclass|}}}" style="{{{basestyle|}}};{{{headingstyle|}}};{{{heading35style|}}}">
 
{{{heading35}}}</th>
 
{{{heading35}}}</th>
 
</tr>
 
</tr>
}}{{#if:<!--
+
}}{{#if:
-->{{{content35|}}}|<!--
+
{{{content35|}}}|
--><tr><!--
+
<tr>
--><td class="sbContent {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content35style|}}}"><!--
+
<td class="sidebar-content {{{contentclass|}}}" style="{{{contentstyle|}}};{{{content35style|}}}">
-->{{{content35}}}</td>
+
{{{content35}}}</td>
 
</tr>
 
</tr>
 
}}<!--
 
}}<!--
  
-->{{#if: {{{below|}}}
+
-->{{#if: {{{below|}}}
    |<tr><td class="{{{belowclass|}}}" style="padding:0.3em 0.4em 0.3em;font-weight:bold;{{{belowstyle|}}}">
+
    | <tr>
 +
      <td class="sidebar-below {{{belowclass|}}}" style="{{{belowstyle|}}}">
 
{{{below}}}</td>
 
{{{below}}}</td>
    </tr>
+
      </tr>
    }}<!--
+
  }}<!--
  
-->{{#ifeq:{{{child|}}}|yes||{{#switch:{{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}
+
-->{{#ifeq:{{{child|}}} |yes
     |none |off=
+
    |
     |#default=<tr><td style="text-align:right;font-size:115%;{{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td></tr><!--
+
    | {{#switch:{{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}} }}}
-->}}
+
     | none
</table>}}</includeonly><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template:Sidebar/doc, not here --></noinclude>
+
    | off=
 +
     | #default= <tr>
 +
                  <td class="sidebar-navbar" style="{{{navbarstyle|{{{tnavbarstyle|}}}}}}">
 +
                  {{navbar
 +
                    | {{{name|{{PAGENAME}} }}}<!-- Strange. Omitting the comment markers introduces an extra space between template: and the name in Navbar breaking the link.
 +
                -->| mini=1
 +
                    | fontstyle= {{{navbarfontstyle|{{{tnavbarfontstyle|}}} }}}
 +
                  }}
 +
                  </td>
 +
                </tr><!--
 +
  -->}}
 +
    </table>
 +
  }}</includeonly><noinclude>
 +
{{documentation}}<!-- Please add categories and interwikis to the bottom of the /doc sub-page, not here --></noinclude>

Latest revision as of 15:21, 3 August 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is a metatemplate for the creation of sidebar templates, i.e. boxes that are vertically-aligned navigational templates.
This template is converted from the last non-lua version of Wikipedia Sidebar
Dependencies
Uses
CSS class nowraplinks in Common.css
{{Navbar}}
Used by
Syntax
For UnuWiki navigational sidebar
The UniWiki navigational sidebar uses a subset of the available parameters and only the parameters used are documented.
{{Sidebar
| name = {{subst:PAGENAME}}

| topimage = 
| topcaption = 

| pretitle = 

| title = 

| image = 
| caption = 

| above = 

| heading1 = 
| content1 = 

| heading2 = 
| content2 = 

| heading3 = 
| content3 = 

<!-- More heading<x>, content<x> blocks as required up to a maximum of 35 -->

| below = 
| navbar = 

}}
Parameters (Data)
name
The name of the sidebar's page. {{subst:PAGENAME}} can be used. May be omitted if no navbar is used (navbar must be off).
topimage
Image at the top of the sidebar. Use standard wiki mark-up i.e. [[File:filename.png|64px]]
topcaption
Caption to appear under topimage.
pretitle
Pre-title of the sidebar. Appears above title
title
Title of the sidebar
image
Image below the title. Use standard wiki mark-up i.e. [[File:filename.png|64px]]
caption
Caption to appear under image.
above
Text to appear above the heading/content sections.
heading<x>
x is 1 till 35 - text in the heading of a section.
content<x>
x is 1 till 35 - Content of a section. One or more links separated by <br>.
below
Text to appear below the heading/content sections.
navbar
Controls the use of navbar. Use off to deactivate (If not deactivated name must be filled in).
Parameters (Format)
contentclass
Name of the CSS class(es) to be applied to all content<x> parameters. i.e. plainlist to achieve {{Plainlist}} effect on the content.
Note
This documentation does not include all possible parameters. Only the parameters for use in the UniWiki navigational sidebar are documented. Reason: lack of time, seeing no use for them now. And being plain lazy -- Evon R'al (talk) 11:39, 4 June 2023 (UTC)


Sample
Note: Notice the difference between content1 using {{Plainlist}} and content2 Using <br> to separate the link. Especially the extra whitespace between the last and second last entry.
{{Sidebar
| topimage = [[File:Agent.png]]

| title = Sidebar title

| heading1 = Heading 1
| content1 = {{plainlist|
* link 1-1
* link 1-2
* link 1-3
}}

| heading2 = Heading 2
| content2 =
link 2-1<br>
link 2-2<br>
link 2-3<br>

| navbar = off

}}


This sample uses the parameter contentclass to apply the class plainlist to al content<x> parameters removing the need to use {{plainlist}} in each separately.
{{Sidebar
| topimage = [[File:Agent.png]]

| title = Sidebar title

| contentclass = plainlist

| heading1 = Heading 1
| content1 = 
* link 1-1
* link 1-2
* link 1-3

| heading2 = Heading 2
| content2 =
* link 2-1
* link 2-2
* link 2-3

| navbar = off

}}
See also
{{Plainlist}}
Visit Template:Sidebar/doc to edit this text! (How does this work?) (Refresh this text - why?)