More actions
m Coding and testing. |
m Coding and testing. |
||
| Line 9: | Line 9: | ||
| nowraplinks | | nowraplinks | ||
}} {{{bodyclass|{{{class|}}} }}}" <!-- | }} {{{bodyclass|{{{class|}}} }}}" <!-- | ||
-->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!-- | |||
-->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!-- | |||
-->style="{{#if:{{{width|}}} |width: {{{width}}}; }}<!-- | |||
-->{{{bodystyle|{{{style|}}} }}}"> | |||
}}<!-- | |||
-->{{#if: {{{outertitle|}}} | -->{{#ifeq: {{{child|}}} |yes | ||
| | |||
| {{#if: {{{outertitle|}}} | |||
| <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!-- | |||
-->}} | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{topimage|}}} | -->{{#ifeq:{{{child|}}} |yes | ||
| | |||
| {{#if: {{{topimage|}}} | |||
| <tr> | |||
<td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!-- | |||
-->{{#if: {{{topcaption|}}} | |||
|<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div> | |||
}} | |||
</td> | |||
</tr> | |||
}} | |||
}}<!-- | }}<!-- | ||
-->{{#if:{{{pretitle|}}} | -->{{#ifeq: {{{child|}}} |yes | ||
| | |||
| {{#if:{{{pretitle|}}} | |||
| <tr> | |||
<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> | ||
}} | |||
}}<!-- | |||
-->{{#if: {{{title|}}} | -->{{#if: {{{title|}}} | ||
| {{#ifeq:{{{child|}}} |yes | |||
| {{{title}}} | |||
| <tr> | |||
<th class="sidebar-title{{#if: {{{pretitle|}}} | |||
| -with-pretitle | |||
}} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}"> | |||
{{{title}}}</th> | |||
</tr> | |||
}} | |||
}}<!-- | |||
-->{{#if:{{{image|}}} | |||
| <tr> | | <tr> | ||
<td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!-- | |||
-->{{#if:{{{caption|}}} | |||
| <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div> | |||
}} | |||
</td> | |||
</tr> | |||
}}<!-- | |||
}}<!-- | |||
-->{{#if:{{{above|}}} | -->{{#if:{{{above|}}} | ||