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

Материал из Исламоведение
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}|, |0}}|<div style="width: 100%; background-image: linear-gradient(to bottom,{{{color}}}, white); display: table;">
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}|, |0}}|<div style="width: 100%; background-image: linear-gradient(to bottom,{{{color}}}, white); display: table;">
 
     <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 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-left: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}|, |0}}}}|1||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}|, |0}}}}|]]}} + 1}}}}
+
     <div class="featuredArticle" style="padding-top: 15px; border-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}|, |0}}}}|1||{{#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="font-size: 17px; vertical-align: middle; text-align: center;  margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}|, |0}}]]</div>
 
</div>
 
</div>
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}|, |1}}|
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}|, |1}}|
     <div class="featuredArticle" style="border-left: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}|, |1}}}}|1||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}|, |1}}}}|]]}} + 1}}}}
+
     <div class="featuredArticle" style="border-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}|, |1}}}}|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 style="font-size: 17px; vertical-align: middle; text-align: center; margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}|, |1}}]]</div>
 
</div>}}
 
</div>}}

Версия 12:24, 19 апреля 2018