Шаблон:Sidebar: различия между версиями
Перейти к навигации
Перейти к поиску
м
moving top/imagestyles before conditionals
en>Sardanaphalus (rm heading padding-top:s (misproportioned when background used)) |
en>Sardanaphalus м (moving top/imagestyles before conditionals) |
||
Строка 9: | Строка 9: | ||
------------------------------- topimage -------------------------------- | ------------------------------- topimage -------------------------------- | ||
-->{{#if:{{{topimage<includeonly>|</includeonly>}}} | -->{{#if:{{{topimage<includeonly>|</includeonly>}}} | ||
| <tr><td class="{{{topimageclass|}}}" style="{{#if:{{{topcaption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:--> | | <tr><td class="{{{topimageclass|}}}" style="{{{topimagestyle|}}} {{#if:{{{topcaption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}}">{{{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><!-- | ||
Строка 22: | Строка 22: | ||
-------------------------------- image ---------------------------------- | -------------------------------- image ---------------------------------- | ||
-->{{#if:{{{image<includeonly>|</includeonly>}}} | -->{{#if:{{{image<includeonly>|</includeonly>}}} | ||
| <tr><td class="{{{imageclass|}}}" style="{{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:--> | | <tr><td class="{{{imageclass|}}}" style="{{{imagestyle|}}} {{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}<!--end#if:-->}}">{{{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><!-- |