More actions
m Coding and testing. |
m Coding and testing. |
||
| Line 16: | Line 16: | ||
-->{{#if: {{{outertitle|}}} | -->{{#if: {{{outertitle|}}} | ||
| <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!-- | | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!-- | ||
--> | -->}}<!-- | ||
}}<!-- | |||
--> | -->{{#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|}}} | ||
| <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|}}} | ||