Template:Sidebar: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Sardanaphalus
(+conditionals to add sectdividers if heading but no content)
>Primefac
(TFD closed as keep (XFDcloser))
 
(167 intermediate revisions by 35 users not shown)
Line 1: Line 1:
<noinclude>{{start sidebar page}}
{{#invoke:Sidebar|sidebar}}<noinclude>
</noinclude><table class="infobox {{{class|}}} {{{bodyclass|}}}" style="<noinclude>width:17.0em;</noinclude> margin:0 0 1.0em 1.0em; text-align:center; line-height:1.4em; font-size:88%; {{{style|}}} {{{bodystyle|}}}" cellspacing="{{{cellspacing|0}}}" cellpadding="{{{cellpadding|0}}}"><!--
{{documentation}}</noinclude>
 
------------------------------- exttitle --------------------------------
-->{{#if:{{{exttitle<includeonly>|</includeonly>}}}
    | <caption class="{{{exttitleclass|}}}" style="font-size:145%; font-weight:bold; {{{exttitlestyle|}}}">{{{exttitle}}}</caption><!--
-->}}<!--
 
------------------------------- topimage --------------------------------
-->{{#if:{{{topimage<includeonly>|</includeonly>}}}
    | <tr><td class="{{{topimageclass|}}}" <!--
            -->style="{{#if:{{{topcaption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{topimagestyle|}}}">{{{topimage}}}<!--
    -->{{#if:{{{topcaption<includeonly>|</includeonly>}}}
        | <div style="line-height:1.2em; font-size:90%; {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} {{{topcaptionstyle|}}}">{{{topcaption}}}</div><!--
    -->}}<!--
-->}}<!--
 
-------------------------------- title ----------------------------------
-->{{#if:{{{title<includeonly>|</includeonly>}}}
    | <tr><td class="{{{titleclass|}}}" style="padding-top:0.2em; font-size:145%; font-weight:bold; {{{titlestyle|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}">{{{title}}}<!--
-->}}<!--
 
-------------------------------- image ----------------------------------
-->{{#if:{{{image<includeonly>|</includeonly>}}}
    | <tr><td class="{{{imageclass|}}}" <!--
            -->style="{{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{imagestyle|}}}">{{{image}}}<!--
    -->{{#if:{{{caption<includeonly>|</includeonly>}}}
        | <div style="line-height:1.2em; font-size:90%; {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} {{{captionstyle|}}}">{{{caption}}}</div><!--
    -->}}<!--
-->}}<!--
 
------------------------------ section 1 --------------------------------
-->{{#if:{{{heading1<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}">{{{heading1}}}<!--end#if:-->}}<!--
--><tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content1style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content1<includeonly>|</includeonly>}}}<!--
 
------------------------------ section 2 --------------------------------
-->{{#if:{{{heading2<includeonly>|</includeonly>}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content2<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}}<!--
-->}}<!--
-->{{#if:{{{content2<includeonly>|</includeonly>}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content2style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content2<includeonly>|</includeonly>}}}<!--
-->}}<!--
 
------------------------------ section 3 --------------------------------
-->{{#if:{{{heading3<includeonly>|</includeonly>}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content3<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}}<!--
-->}}<!--
-->{{#if:{{{content3<includeonly>|</includeonly>}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content3style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content3<includeonly>|</includeonly>}}}<!--
-->}}<!--
 
------------------------------ section 4 --------------------------------
-->{{#if:{{{heading4|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content4|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}}<!--
-->}}<!--
-->{{#if:{{{content4<includeonly>|</includeonly>}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content4style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content4<noinclude>|''(......etc......)''</noinclude>}}}<!--
-->}}<!--
 
------------------------------ section 5 --------------------------------
-->{{#if:{{{heading5|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content5|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}}<!--
-->}}<!--
-->{{#if:{{{content5|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content5style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content5}}}<!--
-->}}<!--
 
------------------------------ section 6 --------------------------------
-->{{#if:{{{heading6|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content6|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}}<!--
-->}}<!--
-->{{#if:{{{content6|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content6style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content6}}}<!--
-->}}<!--
 
------------------------------ section 7 --------------------------------
-->{{#if:{{{heading7|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content7|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}}<!--
-->}}<!--
-->{{#if:{{{content7|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content7style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content7}}}<!--
-->}}<!--
 
------------------------------ section 8 --------------------------------
-->{{#if:{{{heading8|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content8|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}}<!--
-->}}<!--
-->{{#if:{{{content8|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content8style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content8}}}<!--
-->}}<!--
 
------------------------------ section 9 --------------------------------
-->{{#if:{{{heading9|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content9|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading9style|}}}">{{{heading9}}}<!--
-->}}<!--
-->{{#if:{{{content9|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content9style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content9}}}<!--
-->}}<!--
 
------------------------------ section 10 -------------------------------
-->{{#if:{{{heading10|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content10|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading10style|}}}">{{{heading10}}}<!--
-->}}<!--
-->{{#if:{{{content10|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content10style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content10}}}<!--
-->}}<!--
 
------------------------------ section 11 -------------------------------
-->{{#if:{{{heading11|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content11|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading11style|}}}">{{{heading5}}}<!--
-->}}<!--
-->{{#if:{{{content11|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content11style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content11}}}<!--
-->}}<!--
 
------------------------------ section 12 -------------------------------
-->{{#if:{{{heading12|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content12|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading12style|}}}">{{{heading12}}}<!--
-->}}<!--
-->{{#if:{{{content12|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content12style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content12}}}<!--
-->}}<!--
 
------------------------------ section 13 -------------------------------
-->{{#if:{{{heading13|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content13|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading13style|}}}">{{{heading13}}}<!--
-->}}<!--
-->{{#if:{{{content13|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content13style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content13}}}<!--
-->}}<!--
 
------------------------------ section 14 -------------------------------
-->{{#if:{{{heading14|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content14|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading14style|}}}">{{{heading14}}}<!--
-->}}<!--
-->{{#if:{{{content14|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content14style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content14}}}<!--
-->}}<!--
 
------------------------------ section 15 -------------------------------
-->{{#if:{{{heading15|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content15|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading15style|}}}">{{{heading15}}}<!--
-->}}<!--
-->{{#if:{{{content15|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content15style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content15}}}<!--
-->}}<!--
 
------------------------------ section 16 -------------------------------
-->{{#if:{{{heading16|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content16|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading5style|}}}">{{{heading16}}}<!--
-->}}<!--
-->{{#if:{{{content16|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content16style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content16}}}<!--
-->}}<!--
 
------------------------------ section 17 -------------------------------
-->{{#if:{{{heading17|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content17|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading17style|}}}">{{{heading5}}}<!--
-->}}<!--
-->{{#if:{{{content17|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content17style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content17}}}<!--
-->}}<!--
 
------------------------------ section 18 -------------------------------
-->{{#if:{{{heading18|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content18|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading18style|}}}">{{{heading18}}}<!--
-->}}<!--
-->{{#if:{{{content18|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content18style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content18}}}<!--
-->}}<!--
 
------------------------------ section 19 -------------------------------
-->{{#if:{{{heading19|}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content19|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading19style|}}}">{{{heading19}}}<!--
-->}}<!--
-->{{#if:{{{content19|}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content19style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content19}}}<!--
-->}}<!--
 
------------------------------ section 20 -------------------------------
-->{{#if:{{{heading20<includeonly>|</includeonly>}}}
      |<tr><td style="padding:0.2em; font-weight:bold; {{#if:{{{content20<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}}<!--
-->}}<!--
-->{{#if:{{{content20<includeonly>|</includeonly>}}}
      |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content20style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content20}}}<!--
-->}}<!--
 
-------------------------------- Tnavbar --------------------------------
-->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}}
    | |<tr><td style="padding:0.2em; {{{contentstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbaroptions|}}} }}<!--
-->}}
</table><noinclude>
{{end sidebar page}}
 
<!---
Please add metadata (categories, interwikis) to the <includeonly>
section at the bottom of Template:Sidebar/doc, not here - thanks!
---->
</noinclude>

Latest revision as of 21:43, 3 June 2020