Шаблон:Галерея: различия между версиями

Материал из Колчевики
Перейти к навигации Перейти к поиску
(попытка спиздить шаблон галереи с фадерьморья)
(Отмена правки 4781, сделанной участником Ваня (обс.))
 
Строка 1: Строка 1:
<includeonly>
+
<includeonly><table style="{{#switch:{{{clear|}}}|both=clear:both;|pre=clear:both;|post=|#default=}} width:680px; border-color:transparent; vertical-align: top; background-color: transparent;" align="{{#if:{{{align|{{{2|}}}<!-- -->}}}|{{{align|{{{2|left}}}<!-- -->}}}|left}}" class="gallerytemplate"><!--
<center><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-gallery{{{id|}}}" style="background: {{#switch:{{{id|}}}|0|#default=#e2e2e2|1=#ffeedd|2=#e0ebe0|3=#e0e0eb}};width: 70%;" align="center">
+
-->{{#if:{{{1|}}}|<tr><!--
   {{{preview|}}}
+
  --><th style="background-color: #fff; font-size: 14pt; text-align:left;line-height: 30px">{{{1|}}}</th><!--
   <div class="mw-customtoggle-gallery{{{id|}}}" style="background: {{#switch:{{{id|}}}|0|#default=#a1a1a1|1=#ff8822|2=#9eb29e|3=#9e9eb2}};">Клик</div>
+
--></tr>}}<!--
   <div class="mw-collapsible-content">
+
--><tr style="display:none;" class="gallerytemplate-params"><!--
  {{{content|}}}
+
  --><td title="min_visible_rows">{{{min_visible_rows|1}}}</td><!--
  </div>
+
  --><td title="max_visible_rows">{{{max_visible_rows|3}}}</td><!--
</div></center>
+
  --><td title="collapsible">{{{collapsible|yes}}}</td><!--
</includeonly>
+
  --><td title="expand_caption">{{{expand_caption|Показать}}}</td><!--
<noinclude>{{doc}}</noinclude>
+
   --><td title="collapse_caption">{{{collapse_caption|Скрыть}}}</td><!--
 +
--></tr><!--
 +
--><tr><!--
 +
   --><td class="gallerytemplate-content">{{{content|{{{3|}}}}}}</td><!--
 +
--></tr><!--
 +
-->{{#if:{{{ajax|}}}|<tr><!--
 +
  --><td class="ajaxed ajaxtarget{{{ajax}}} ajax_addhider" style="font-size: 10pt; text-align:left;">{{{ajax-title|{{{prevtitle|'''Необходимо указать ссылки на подгружаемые страницы.'''}}}<!-- -->}}} <span class="ajaxhide{{{ajax}}} ajax_addhider fake-button" style="color:blue; float: right; display:none;"><!--
 +
    -->{{{ajax-hide|[[Файл:Ajax_gallery_hider.png|link=]]}}}</span><!--
 +
  --></td><!--
 +
--></tr><!--
 +
--><tr><!--
 +
   --><td class="ajaxcont{{{ajax}}}">&nbsp;</td><!--
 +
--></tr>}}<!--
 +
--></table>{{#switch:{{{clear|}}}|both=<br clear=both/>|pre=|post=<br clear=both/>|#default=<br clear=both/>}}</includeonly><noinclude>{{doc}}</noinclude>

Текущая версия на 20:54, 15 сентября 2016

Документация Документация
Это незавершённая статья. Вы можете помочь, исправив и дополнив её.