Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

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

Материал из Исламоведение
Нет описания правки
Метка: отменено
Нет описания правки
Метка: ручная отмена
Строка 1: Строка 1:
<includeonly>{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |0}}|
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |0}}|<div style="width: 100%; background-image: linear-gradient(to bottom,{{{color}}}, white); display: table;">
<div style="width:100%; background-image:linear-gradient(to bottom,{{{color|#ffffff}}}, white); padding:10px; margin-bottom:15px;">
     <div style="padding: 10px; border-bottom: 1px white solid">[[file:{{{icon}}}|30px|link=|alt=]]<span style="font-size: 19px; padding: 10px; vertical-align: middle">'''{{{title}}}'''</span></div>
 
     <div class="featuredArticle" style="padding-top: 15px; border-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |0}}}}||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}| / |0}}}}|]]}} + 1}}}}
    <!-- Заголовок с иконкой -->
<div style="font-size: 17px; vertical-align: middle; text-align: center; margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}| / |0}}]]</div>
     <div style="padding:10px; border-bottom:1px solid white; margin-bottom:10px;">
        [[File:{{{icon|}}}|30px|link=|alt=]]
        <span style="font-size:19px; padding:10px; vertical-align:middle;">'''{{{title|}}}'''</span>
    </div>
 
    <!-- Первый элемент с фото -->
    {{#if: {{#explode: {{newest/names|{{{type}}}}}| / |0}}|
     <div style="display:flex; align-items:center; margin:10px 0; padding:10px; background:rgba(255,255,255,0.5); border-radius:5px;">
        <div style="flex:0 0 60px; margin-right:15px;">
            [[File:{{PAGENAME:{{#explode: {{newest/names|{{{type}}}}}| / |0}}}}.jpg|60px|link={{#explode: {{newest/names|{{{type}}}}}| / |0}}|alt=]]
        </div>
        <div style="flex:1; font-size:17px;">
            [[{{#explode: {{newest/names|{{{type}}}}}| / |0}}]]
        </div>
    </div>
    }}
 
    <!-- Второй элемент с фото (если есть) -->
    {{#if: {{#explode: {{newest/names|{{{type}}}}}| / |1}}|
    <div style="display:flex; align-items:center; margin:10px 0; padding:10px; background:rgba(255,255,255,0.5); border-radius:5px;">
        <div style="flex:0 0 60px; margin-right:15px;">
            [[File:{{PAGENAME:{{#explode: {{newest/names|{{{type}}}}}| / |1}}}}.jpg|60px|link={{#explode: {{newest/names|{{{type}}}}}| / |1}}|alt=]]
        </div>
        <div style="flex:1; font-size:17px;">
            [[{{#explode: {{newest/names|{{{type}}}}}| / |1}}]]
        </div>
    </div>
    }}
 
    <!-- Третий элемент с фото (если есть) -->
    {{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}|
    <div style="display:flex; align-items:center; margin:10px 0; padding:10px; background:rgba(255,255,255,0.5); border-radius:5px;">
        <div style="flex:0 0 60px; margin-right:15px;">
            [[File:{{PAGENAME:{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}.jpg|60px|link={{#explode: {{newest/names|{{{type}}}}}| / |2}}|alt=]]
        </div>
        <div style="flex:1; font-size:17px;">
            [[{{#explode: {{newest/names|{{{type}}}}}| / |2}}]]
        </div>
    </div>
    }}
 
</div>
</div>
}}</includeonly>
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |1}}|
    <div class="featuredArticle" style="border-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |1}}}}||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}| / |1}}}}|]]}} + 1}}}}
<div style="font-size: 17px; vertical-align: middle; text-align: center; margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}| / |1}}]]</div>
</div>}}
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}|
    <div class="featuredArticle" style="">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}|]]}} + 1}}}}
<div style="font-size: 17px; vertical-align: middle; text-align: center; margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}| / |2}}]]</div>
</div>}}
</div>}}__NOTOC__

Версия от 13:12, 26 февраля 2026