Шаблон:Newest — различия между версиями
Adminm (обсуждение | вклад) |
Adminm (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 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|{{: | + | <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="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}} | + | <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 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}} | + | <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 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__ |