Шаблон:Галерея файлов/aux: различия между версиями
Материал из История Вологдов
| Строка 1: | Строка 1: | ||
| − | <includeonly><table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;"><tr><td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center"><img src={{{1|http://vologdahistory.ru/wiki/images/0/00/Flag_of_None.jpg}}} width={{{width|180}}} alt={{{2}}}></td></tr><tr style="vertical-align:top;"><td style="display:block; font-size:90%; height:{{#expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"><div class="gallerytext" style="height:{{#expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#expr: {{ | + | <includeonly><table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;"><tr><td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center; position: relative;"> |
| + | |||
| + | <div style="position: absolute; top: 0; left: 0; width:100%; height: 100%; overflow: hidden;"> | ||
| + | <img src={{{1|http://vologdahistory.ru/wiki/images/0/00/Flag_of_None.jpg}}} width={{{width|180}}} alt={{{2}}}> | ||
| + | </div> | ||
| + | |||
| + | </td></tr><tr style="vertical-align:top;"><td style="display:block; font-size:90%; height:{{#expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"><div class="gallerytext" style="height:{{#expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#expr: {{ | ||
#ifexpr: {{{cellwidth|0}}} < 30 | #ifexpr: {{{cellwidth|0}}} < 30 | ||
|{{#ifexpr: {{{width|0}}}+0 < 30 | |{{#ifexpr: {{{width|0}}}+0 < 30 | ||