Template:Sidebar: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Thumperward
(headings can be hlists too, so the same newline hack is needed there)
>Plastikspork
(Adding child = yes parameter per edit request)
Line 1: Line 1:
<table class="vertical-navbox {{#ifeq:{{{wraplinks|}}}|true||nowraplinks}} {{{bodyclass|{{{class|}}}}}}" <!--
{{#ifeq:{{{child|}}}|yes||<table class="vertical-navbox {{#ifeq:{{{wraplinks|}}}|true||nowraplinks}} {{{bodyclass|{{{class|}}}}}}" <!--
     -->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!--
     -->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!--
     -->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!--
     -->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!--
Line 6: Line 6:
           -->width:{{#if:{{{width|}}} |{{{width}}} |22.0em}};<!--
           -->width:{{#if:{{{width|}}} |{{{width}}} |22.0em}};<!--
             (margins:)-->{{#switch:{{{float|}}} |left=margin:0 1.0em 1.0em 0; |none|right|#default=margin:0 0 1.0em 1.0em;}}<!--
             (margins:)-->{{#switch:{{{float|}}} |left=margin:0 1.0em 1.0em 0; |none|right|#default=margin:0 0 1.0em 1.0em;}}<!--
           -->background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%;{{{bodystyle|{{{style|}}}}}}"><!--
           -->background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%;{{{bodystyle|{{{style|}}}}}}">}}<!--


  -->{{#if:{{{outertitle|}}}
  -->{{#ifeq:{{{child|}}}|yes||{{#if:{{{outertitle|}}}
     |<caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em;font-size:125%;line-height:1.2em;font-weight:bold;{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
     |<caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em;font-size:125%;line-height:1.2em;font-weight:bold;{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
  -->}}<!--
  -->}}}}<!--


  -->{{#if:{{{topimage|}}}
  -->{{#ifeq:{{{child|}}}|yes||{{#if:{{{topimage|}}}
     |<tr><td class="{{{topimageclass|}}}" style="padding:0.4em 0;{{{topimagestyle|}}}">{{{topimage}}}<!--
     |<tr><td class="{{{topimageclass|}}}" style="padding:0.4em 0;{{{topimagestyle|}}}">{{{topimage}}}<!--
           -->{{#if:{{{topcaption|}}} |<div style="padding-top:0.2em;line-height:1.2em;{{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td>
           -->{{#if:{{{topcaption|}}} |<div style="padding-top:0.2em;line-height:1.2em;{{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td>
       </tr>
       </tr>
     }}<!--
     }}}}<!--


  -->{{#if:{{{pretitle|}}}
  -->{{#ifeq:{{{child|}}}|yes||{{#if:{{{pretitle|}}}
     |<tr><td class="{{{pretitleclass|}}}" style="{{{basestyle|}}};{{#if:{{{topimage|}}} |padding-top:0.2em |padding-top:0.4em}};line-height:1.2em;{{{pretitlestyle|}}}">{{{pretitle}}}</td>
     |<tr><td class="{{{pretitleclass|}}}" style="{{{basestyle|}}};{{#if:{{{topimage|}}} |padding-top:0.2em |padding-top:0.4em}};line-height:1.2em;{{{pretitlestyle|}}}">{{{pretitle}}}</td>
       </tr>
       </tr>
     }}<!--
     }}}}<!--


  -->{{#if:{{{title|}}}
  -->{{#if:{{{title|}}}
     |<tr><th class="{{{titleclass|}}}" style="{{{basestyle|}}};padding:0.2em 0.4em 0.2em;{{#if:{{{pretitle|}}} |padding-top:0}};font-size:145%;line-height:1.2em;{{{titlestyle|}}}">{{{title}}}</th>
     |{{#ifeq:{{{child|}}}|yes||<tr><th class="{{{titleclass|}}}" style="{{{basestyle|}}};padding:0.2em 0.4em 0.2em;{{#if:{{{pretitle|}}} |padding-top:0}};font-size:145%;line-height:1.2em;{{{titlestyle|}}}">}}{{{title}}}</th>
       </tr>
       </tr>
     }}<!--
     }}<!--
Line 50: Line 50:
{{{content1|}}}|
{{{content1|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work -->
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work -->
{{{content1}}}</td>
{{{content1}}}</td>
</tr>
</tr>
Line 61: Line 61:
{{{content2|}}}|
{{{content2|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content2style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content2style|}}}">
{{{content2}}}</td>
{{{content2}}}</td>
</tr>
</tr>
Line 72: Line 72:
{{{content3|}}}|
{{{content3|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content3style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content3style|}}}">
{{{content3}}}</td>
{{{content3}}}</td>
</tr>
</tr>
Line 83: Line 83:
{{{content4|}}}|
{{{content4|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content4style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content4style|}}}">
{{{content4|}}}</td>
{{{content4|}}}</td>
</tr>
</tr>
Line 94: Line 94:
{{{content5|}}}|
{{{content5|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content5style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content5style|}}}">
{{{content5}}}</td>
{{{content5}}}</td>
</tr>
</tr>
Line 105: Line 105:
{{{content6|}}}|
{{{content6|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content6style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content6style|}}}">
{{{content6}}}</td>
{{{content6}}}</td>
</tr>
</tr>
Line 116: Line 116:
{{{content7|}}}|
{{{content7|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content7style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content7style|}}}">
{{{content7}}}</td>
{{{content7}}}</td>
</tr>
</tr>
Line 127: Line 127:
{{{content8|}}}|
{{{content8|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content8style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content8style|}}}">
{{{content8}}}</td>
{{{content8}}}</td>
</tr>
</tr>
Line 138: Line 138:
{{{content9|}}}|
{{{content9|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content9style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content9style|}}}">
{{{content9}}}</td>
{{{content9}}}</td>
</tr>
</tr>
Line 149: Line 149:
{{{content10|}}}|
{{{content10|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content10style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content10style|}}}">
{{{content10}}}</td>
{{{content10}}}</td>
</tr>
</tr>
Line 160: Line 160:
{{{content11|}}}|
{{{content11|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content11style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content11style|}}}">
{{{content11}}}</td>
{{{content11}}}</td>
</tr>
</tr>
Line 171: Line 171:
{{{content12|}}}|
{{{content12|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content12style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content12style|}}}">
{{{content12}}}</td>
{{{content12}}}</td>
</tr>
</tr>
Line 182: Line 182:
{{{content13|}}}|
{{{content13|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content13style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content13style|}}}">
{{{content13}}}</td>
{{{content13}}}</td>
</tr>
</tr>
Line 193: Line 193:
{{{content14|}}}|
{{{content14|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content14style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content14style|}}}">
{{{content14}}}</td>
{{{content14}}}</td>
</tr>
</tr>
Line 204: Line 204:
{{{content15|}}}|
{{{content15|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content15style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content15style|}}}">
{{{content15}}}</td>
{{{content15}}}</td>
</tr>
</tr>
Line 215: Line 215:
{{{content16|}}}|
{{{content16|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content16style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content16style|}}}">
{{{content16}}}</td>
{{{content16}}}</td>
</tr>
</tr>
Line 226: Line 226:
{{{content17|}}}|
{{{content17|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content17style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content17style|}}}">
{{{content17}}}</td>
{{{content17}}}</td>
</tr>
</tr>
Line 237: Line 237:
{{{content18|}}}|
{{{content18|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content18style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content18style|}}}">
{{{content18}}}</td>
{{{content18}}}</td>
</tr>
</tr>
Line 248: Line 248:
{{{content19|}}}|
{{{content19|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content19style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content19style|}}}">
{{{content19}}}</td>
{{{content19}}}</td>
</tr>
</tr>
Line 259: Line 259:
{{{content20|}}}|
{{{content20|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content20style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content20style|}}}">
{{{content20}}}</td>
{{{content20}}}</td>
</tr>
</tr>
Line 270: Line 270:
{{{content21|}}}|
{{{content21|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content21style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content21style|}}}">
{{{content21}}}</td>
{{{content21}}}</td>
</tr>
</tr>
Line 281: Line 281:
{{{content22|}}}|
{{{content22|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content22style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content22style|}}}">
{{{content22}}}</td>
{{{content22}}}</td>
</tr>
</tr>
Line 292: Line 292:
{{{content23|}}}|
{{{content23|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content23style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content23style|}}}">
{{{content23}}}</td>
{{{content23}}}</td>
</tr>
</tr>
Line 303: Line 303:
{{{content24|}}}|
{{{content24|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content24style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content24style|}}}">
{{{content24}}}</td>
{{{content24}}}</td>
</tr>
</tr>
Line 314: Line 314:
{{{content25|}}}|
{{{content25|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content25style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content25style|}}}">
{{{content25}}}</td>
{{{content25}}}</td>
</tr>
</tr>
Line 325: Line 325:
{{{content26|}}}|
{{{content26|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content26style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content26style|}}}">
{{{content26}}}</td>
{{{content26}}}</td>
</tr>
</tr>
Line 336: Line 336:
{{{content27|}}}|
{{{content27|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content27style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content27style|}}}">
{{{content27}}}</td>
{{{content27}}}</td>
</tr>
</tr>
Line 347: Line 347:
{{{content28|}}}|
{{{content28|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content28style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content28style|}}}">
{{{content28}}}</td>
{{{content28}}}</td>
</tr>
</tr>
Line 358: Line 358:
{{{content29|}}}|
{{{content29|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content29style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content29style|}}}">
{{{content29}}}</td>
{{{content29}}}</td>
</tr>
</tr>
Line 369: Line 369:
{{{content30|}}}|
{{{content30|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content30style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content30style|}}}">
{{{content30}}}</td>
{{{content30}}}</td>
</tr>
</tr>
Line 380: Line 380:
{{{content31|}}}|
{{{content31|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content31style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content31style|}}}">
{{{content31}}}</td>
{{{content31}}}</td>
</tr>
</tr>
Line 391: Line 391:
{{{content32|}}}|
{{{content32|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content32style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content32style|}}}">
{{{content32}}}</td>
{{{content32}}}</td>
</tr>
</tr>
Line 402: Line 402:
{{{content33|}}}|
{{{content33|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content33style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content33style|}}}">
{{{content33}}}</td>
{{{content33}}}</td>
</tr>
</tr>
Line 413: Line 413:
{{{content34|}}}|
{{{content34|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content34style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content34style|}}}">
{{{content34}}}</td>
{{{content34}}}</td>
</tr>
</tr>
Line 424: Line 424:
{{{content35|}}}|
{{{content35|}}}|
<tr>
<tr>
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em; {{{contentstyle|}}};{{{content35style|}}}">
<td class="{{{contentclass|}}}" style="padding:0 0.1em 0.4em;{{{contentstyle|}}};{{{content35style|}}}">
{{{content35}}}</td>
{{{content35}}}</td>
</tr>
</tr>
Line 435: Line 435:
     }}<!--
     }}<!--


  -->{{#switch:{{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}
  -->{{#ifeq:{{{child|}}}|yes||{{#switch:{{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}
     |none |off=
     |none |off=
     |#default=<tr><td style="text-align:right;font-size:115%;{{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td></tr><!--
     |#default=<tr><td style="text-align:right;font-size:115%;{{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td></tr><!--
  -->}}
  -->}}
 
</table>}}<noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template:Sidebar/doc, not here --></noinclude>
</table><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template:Sidebar/doc, not here --></noinclude>

Revision as of 17:15, 27 May 2013