Шаблон: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-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |0}}|{{#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}}|{{#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="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-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |1}}{{#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}}|{{#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>}}
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}|
 
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}|
     <div class="featuredArticle" style="">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |2}}{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}|1||{{#expr: {{strfind short|{{:{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}|]]}} + 1}}}}
+
     <div class="featuredArticle" style="">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| / |2}}|{{#explode: {{newest/names|{{{type}}}}}| / |2}}}}|1||{{#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 style="font-size: 17px; vertical-align: middle; text-align: center; margin: 15px auto 5px auto">[[{{#explode: {{newest/names|{{{type}}}}}| / |2}}]]</div>
 
</div>}}
 
</div>}}
 
</div>}}__NOTOC__
 
</div>}}__NOTOC__

Версия 12:47, 21 апреля 2018