Template:Sidebar: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Sardanaphalus
(+tnavbarstyle)
>Sardanaphalus
m (rm comment-breaks before style definitions (images), +<noinclude>)
Line 9: Line 9:
  ------------------------------- topimage --------------------------------
  ------------------------------- topimage --------------------------------
  -->{{#if:{{{topimage<includeonly>|</includeonly>}}}
  -->{{#if:{{{topimage<includeonly>|</includeonly>}}}
     | <tr><td class="{{{topimageclass|}}}" <!--
     | <tr><td class="{{{topimageclass|}}}" style="{{#if:{{{topcaption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{topimagestyle|}}}">{{{topimage}}}<!--
            -->style="{{#if:{{{topcaption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{topimagestyle|}}}">{{{topimage}}}<!--
     -->{{#if:{{{topcaption<includeonly>|</includeonly>}}}
     -->{{#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><!--
         | <div style="line-height:1.2em; font-size:90%; {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} {{{topcaptionstyle|}}}">{{{topcaption}}}</div><!--
Line 23: Line 22:
  -------------------------------- image ----------------------------------
  -------------------------------- image ----------------------------------
  -->{{#if:{{{image<includeonly>|</includeonly>}}}
  -->{{#if:{{{image<includeonly>|</includeonly>}}}
     | <tr><td class="{{{imageclass|}}}" <!--
     | <tr><td class="{{{imageclass|}}}" style="{{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{imagestyle|}}}">{{{image}}}<!--
            -->style="{{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}} {{{imagestyle|}}}">{{{image}}}<!--
     -->{{#if:{{{caption<includeonly>|</includeonly>}}}
     -->{{#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><!--
         | <div style="line-height:1.2em; font-size:90%; {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} {{{captionstyle|}}}">{{{caption}}}</div><!--
Line 55: Line 53:
  -->}}<!--
  -->}}<!--
  -->{{#if:{{{content4<includeonly>|</includeonly>}}}
  -->{{#if:{{{content4<includeonly>|</includeonly>}}}
       |<tr><td style="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> 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 187: Line 185:


  -------------------------------- Tnavbar --------------------------------
  -------------------------------- Tnavbar --------------------------------
-->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}}
-->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}}
    | |<tr><td style="{{{contentstyle|}}} {{{tnavbarstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbaroptions|}}} }}<!--
      | |<tr><td style="{{{contentstyle|}}} {{{tnavbarstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbaroptions|}}} }}<!--
-->}}
-->}}
</table><noinclude>
</table><noinclude>
{{end sidebar page}}
{{end sidebar page}}

Revision as of 01:20, 8 September 2008

Template:Start sidebar page

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

Template:End sidebar page