Шаблон:Галерея: различия между версиями
Перейти к навигации
Перейти к поиску
Ваня (обсуждение | вклад) (попытка спиздить шаблон галереи с фадерьморья) |
Ваня (обсуждение | вклад) |
||
Строка 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"><!-- |
− | < | + | -->{{#if:{{{1|}}}|<tr><!-- |
− | {{{ | + | --><th style="background-color: #fff; font-size: 14pt; text-align:left;line-height: 30px">{{{1|}}}</th><!-- |
− | < | + | --></tr>}}<!-- |
− | < | + | --><tr style="display:none;" class="gallerytemplate-params"><!-- |
− | + | --><td title="min_visible_rows">{{{min_visible_rows|1}}}</td><!-- | |
− | + | --><td title="max_visible_rows">{{{max_visible_rows|3}}}</td><!-- | |
− | + | --><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}}}"> </td><!-- | ||
+ | --></tr>}}<!-- | ||
+ | --></table>{{#switch:{{{clear|}}}|both=<br clear=both/>|pre=|post=<br clear=both/>|#default=<br clear=both/>}}</includeonly><noinclude>{{doc}}</noinclude> |