Шаблон:Галерея файлов/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; position: relative;">
 
<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;">
−
<html>
+
 
−
<div style="position: absolute; top: 0; left: 0; width:100%; height:90%; overflow: hidden;">
+
<htmlet>gallery</htmlet>
−
<a href=http://{{{1|http://vologdahistory.ru/wiki/images/0/00/Flag_of_None.jpg}}} title={{{2}}} target=_blank><img src={{{1|http://vologdahistory.ru/wiki/images/0/00/Flag_of_None.jpg}}} width={{{width|180}}} alt={{{2}}} title={{{2}}}></a>
+
 
−
</div>
 
−
</ html>
 
 
</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: {{
 
</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

Версия 12:34, 21 декабря 2017

Документация

Служебный шаблон.

Во избежание поломок страниц, использующих данный шаблон, желательно экспериментировать в Песочнице.