Шаблон:Newest: различия между версиями
Материал из Исламоведение
Дополнительные действия
Modir (обсуждение | вклад) Нет описания правки Метка: отменено |
Modir (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
<includeonly>{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |0}}| | <includeonly>{{#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); display:table; padding:10px;"> | ||
[[{{#explode: {{newest/names|{{{type}}}}}| / |0}}]] | |||
<!-- Заголовок с иконкой --> | |||
<div style="padding:10px; border-bottom:1px solid white;"> | |||
[[File:{{{icon|}}}|30px|link=|alt=]] | |||
<span style="font-size:19px; padding:10px; vertical-align:middle;">'''{{{title|}}}'''</span> | |||
</div> | |||
<!-- Первый элемент --> | |||
<div style="font-size:17px; text-align:center; margin:15px auto 5px auto;"> | |||
[[{{#explode: {{newest/names|{{{type}}}}}| / |0}}]] | |||
</div> | |||
<!-- Второй элемент (если есть) --> | |||
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |1}}| | |||
<div style="font-size:17px; text-align:center; margin:15px auto 5px auto;"> | |||
[[{{#explode: {{newest/names|{{{type}}}}}| / |1}}]] | |||
</div>}} | |||
<!-- Третий элемент (если есть) --> | |||
{{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}| | |||
<div style="font-size:17px; text-align:center; margin:15px auto 5px auto;"> | |||
[[{{#explode: {{newest/names|{{{type}}}}}| / |2}}]] | |||
</div>}} | |||
</div> | </div> | ||
}}</includeonly> | }}</includeonly> | ||