More actions
m Coding and testing. |
m Coding and testing. |
||
| Line 27: | Line 27: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#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|}}} | |||
| {{#ifeq:{{{child|}}} |yes | |||
| {{{title}}} | |||
| <tr> | |||
<th class="sidebar-title{{#if: {{{pretitle|}}} <!-- NO space between sidebar-title and {{#if because -with-pretitle need to be connected to sidebar-title --> | |||
| -with-pretitle | |||
}} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}"> | |||
{{{title}}}</th> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{image|}}} | |||
| <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|}}} | ||