Шаблон:Newest — различия между версиями
Admin3 (обсуждение | вклад) |
Adminm (обсуждение | вклад) |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
− | {{#if: {{#explode: {{newest/names|{{{type}}}}}| | + | {{#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}}}}}| | + | <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}}}}}| | + | <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}}}}}| | + | {{#if: {{#explode: {{newest/names|{{{type}}}}}| / |1}}| |
− | <div class="featuredArticle" style="border-right: 1px white solid;">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| | + | <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}}}}}| | + | <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}}}}}| | + | {{#if: {{#explode: {{newest/names|{{{type}}}}}| / |2}}| |
− | <div class="featuredArticle" style="">{{Str mid|{{:{{#explode: {{newest/names|{{{type}}}}}| | + | <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}}}}}| | + | <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__ |