Difference between revisions of "Шаблон:Галерея:Название-Фото"
From Кафедра Автоматики и телемеханики
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |||
− | |||
{{Галерея|{{{2}}}|{{{3}}}| | {{Галерея|{{{2}}}|{{{3}}}| | ||
{{#rreplace:{{#rmatch:{{#ask: {{{1}}} | format = ul | limit=1000 | sort=Название| link=none | ?Название | ?Фото}} | {{#rreplace:{{#rmatch:{{#ask: {{{1}}} | format = ul | limit=1000 | sort=Название| link=none | ?Название | ?Фото}} | ||
|(?s)<ul>(.*?)</ul>|$1}} | |(?s)<ul>(.*?)</ul>|$1}} | ||
− | |<li>(.*?)\s\(.*?Название\]\]\s(.*?)\s\[\[.*?Фото\]\]\s(.*?)\)</li>|Файл:$3{{#}}[[$1|$2]]{{#}}$1{{#}}}}}} | + | |<li.*?>(.*?)\s\(.*?Название\]\]\s(.*?)\s\[\[.*?Фото\]\]\s(.*?)\)</li>|Файл:$3{{#}}[[$1|$2]]{{#}}$1{{#}}}}}} |
</includeonly> | </includeonly> |