Template:Sidebar: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Sardanaphalus
m (Undid revision 237069052 by Sardanaphalus (talk))
>Sardanaphalus
(+conditional padding between heading and content, +sections)
Line 32: Line 32:
       |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}">{{{heading1}}}<!--
       |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}">{{{heading1}}}<!--
  -->}}<!--
  -->}}<!--
  --><tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content1style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content1<includeonly>|</includeonly>}}}<!--
  --><tr><td style="{{#if:{{{heading1<includeonly>|</includeonly>}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content1style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content1<includeonly>|</includeonly>}}}<!--


  ------------------------------ section 2 --------------------------------
  ------------------------------ section 2 --------------------------------
Line 39: Line 39:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content2<includeonly>|</includeonly>}}}
  -->{{#if:{{{content2<includeonly>|</includeonly>}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content2style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content2<includeonly>|</includeonly>}}}<!--
       |<tr><td style="{{#if:{{{heading2<includeonly>|</includeonly>}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content2style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content2<includeonly>|</includeonly>}}}<!--
  -->}}<!--
  -->}}<!--


Line 47: Line 47:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content3<includeonly>|</includeonly>}}}
  -->{{#if:{{{content3<includeonly>|</includeonly>}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content3style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content3<includeonly>|</includeonly>}}}<!--
       |<tr><td style="{{#if:{{{heading3<includeonly>|</includeonly>}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content3style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content3<includeonly>|</includeonly>}}}<!--
  -->}}<!--
  -->}}<!--


Line 55: Line 55:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content4<includeonly>|</includeonly>}}}
  -->{{#if:{{{content4<includeonly>|</includeonly>}}}
       |<tr><td style="<noinclude>padding-top:0.4em;</noinclude> padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content4style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content4<noinclude>|''(......etc......)''</noinclude>}}}<!--
       |<tr><td style="<noinclude>padding-top:0.4em;</noinclude> {{#if:{{{heading4|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content4style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content4<noinclude>|''(......etc......)''</noinclude>}}}<!--
  -->}}<!--
  -->}}<!--


Line 63: Line 63:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content5|}}}
  -->{{#if:{{{content5|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content5style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content5}}}<!--
       |<tr><td style="{{#if:{{{heading5|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content5style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content5}}}<!--
  -->}}<!--
  -->}}<!--


Line 71: Line 71:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content6|}}}
  -->{{#if:{{{content6|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content6style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content6}}}<!--
       |<tr><td style="{{#if:{{{heading6|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content6style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content6}}}<!--
  -->}}<!--
  -->}}<!--


Line 79: Line 79:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content7|}}}
  -->{{#if:{{{content7|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content7style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content7}}}<!--
       |<tr><td style="{{#if:{{{heading7|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content7style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content7}}}<!--
  -->}}<!--
  -->}}<!--


Line 87: Line 87:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content8|}}}
  -->{{#if:{{{content8|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content8style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content8}}}<!--
       |<tr><td style="{{#if:{{{heading8|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content8style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content8}}}<!--
  -->}}<!--
  -->}}<!--


Line 95: Line 95:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content9|}}}
  -->{{#if:{{{content9|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content9style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content9}}}<!--
       |<tr><td style="{{#if:{{{heading9|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content9style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content9}}}<!--
  -->}}<!--
  -->}}<!--


Line 103: Line 103:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content10|}}}
  -->{{#if:{{{content10|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content10style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content10}}}<!--
       |<tr><td style="{{#if:{{{heading10|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content10style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content10}}}<!--
  -->}}<!--
  -->}}<!--


Line 111: Line 111:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content11|}}}
  -->{{#if:{{{content11|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content11style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content11}}}<!--
       |<tr><td style="{{#if:{{{heading11|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content11style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content11}}}<!--
  -->}}<!--
  -->}}<!--


Line 119: Line 119:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content12|}}}
  -->{{#if:{{{content12|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content12style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content12}}}<!--
       |<tr><td style="{{#if:{{{heading12|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content12style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content12}}}<!--
  -->}}<!--
  -->}}<!--


Line 127: Line 127:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content13|}}}
  -->{{#if:{{{content13|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content13style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content13}}}<!--
       |<tr><td style="{{#if:{{{heading13|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content13style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content13}}}<!--
  -->}}<!--
  -->}}<!--


Line 135: Line 135:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content14|}}}
  -->{{#if:{{{content14|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content14style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content14}}}<!--
       |<tr><td style="{{#if:{{{heading14|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content14style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content14}}}<!--
  -->}}<!--
  -->}}<!--


Line 143: Line 143:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content15|}}}
  -->{{#if:{{{content15|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content15style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content15}}}<!--
       |<tr><td style="{{#if:{{{heading15|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content15style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content15}}}<!--
  -->}}<!--
  -->}}<!--


Line 151: Line 151:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content16|}}}
  -->{{#if:{{{content16|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content16style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content16}}}<!--
       |<tr><td style="{{#if:{{{heading16|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content16style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content16}}}<!--
  -->}}<!--
  -->}}<!--


Line 159: Line 159:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content17|}}}
  -->{{#if:{{{content17|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content17style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content17}}}<!--
       |<tr><td style="{{#if:{{{heading17|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content17style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content17}}}<!--
  -->}}<!--
  -->}}<!--


Line 167: Line 167:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content18|}}}
  -->{{#if:{{{content18|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content18style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content18}}}<!--
       |<tr><td style="{{#if:{{{heading18|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content18style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content18}}}<!--
  -->}}<!--
  -->}}<!--


Line 175: Line 175:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content19|}}}
  -->{{#if:{{{content19|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content19style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content19}}}<!--
       |<tr><td style="{{#if:{{{heading19|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content19style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content19}}}<!--
  -->}}<!--
  -->}}<!--


  ------------------------------ section 20 -------------------------------
  ------------------------------ section 20 -------------------------------
  -->{{#if:{{{heading20<includeonly>|</includeonly>}}}
  -->{{#if:{{{heading20|}}}
       |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content20<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}}<!--
       |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content20|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}}<!--
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content20<includeonly>|</includeonly>}}}
  -->{{#if:{{{content20|}}}
       |<tr><td style="padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content20style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content20}}}<!--
      |<tr><td style="{{#if:{{{heading20|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content20style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content20}}}<!--
-->}}<!--
 
------------------------------ section 21 -------------------------------
-->{{#if:{{{heading21|}}}
      |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content21|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading21style|}}}">{{{heading21}}}<!--
-->}}<!--
-->{{#if:{{{content21|}}}
      |<tr><td style="{{#if:{{{heading21|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content21style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content21}}}<!--
-->}}<!--
 
------------------------------ section 22 -------------------------------
-->{{#if:{{{heading22|}}}
      |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content22|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading22style|}}}">{{{heading22}}}<!--
-->}}<!--
-->{{#if:{{{content22|}}}
      |<tr><td style="{{#if:{{{heading22|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content22style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content22}}}<!--
-->}}<!--
 
------------------------------ section 23 -------------------------------
-->{{#if:{{{heading23|}}}
      |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content23|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading23style|}}}">{{{heading23}}}<!--
-->}}<!--
-->{{#if:{{{content23|}}}
      |<tr><td style="{{#if:{{{heading23|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content23style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content23}}}<!--
-->}}<!--
 
------------------------------ section 24 -------------------------------
-->{{#if:{{{heading24|}}}
      |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content24|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading24style|}}}">{{{heading24}}}<!--
-->}}<!--
-->{{#if:{{{content24|}}}
      |<tr><td style="{{#if:{{{heading24|}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content24style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content24}}}<!--
-->}}<!--
 
------------------------------ section 25 -------------------------------
-->{{#if:{{{heading25<includeonly>|</includeonly>}}}
      |<tr><td style="padding-right:0.2em; padding-left:0.2em; font-weight:bold; {{#if:{{{content25<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading25style|}}}">{{{heading25}}}<!--
-->}}<!--
-->{{#if:{{{content25<includeonly>|</includeonly>}}}
       |<tr><td style="{{#if:{{{heading25</includeonly>|</includeonly>}}} |padding-top:0.2em;}} padding-right:0.2em; padding-bottom:0.4em; padding-left:0.2em; {{{contentstyle|}}} {{{content25style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content25}}}<!--
  -->}}<!--
  -->}}<!--



Revision as of 09:36, 8 September 2008

Template:Start sidebar page

{{{exttitle}}}
{{{topimage}}}
{{{topcaption}}}
{{{title}}}
{{{image}}}
{{{caption}}}
{{{heading1}}}
{{{content1}}}
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
(......etc......)
{{{heading25}}}
{{{content25}}}
Template:Tnavbar

Template:End sidebar page