الگو:صفحهٔ اصلی/نمایش جدیدترینها: تفاوت بین نسخهها
سطر ۱: | سطر ۱: | ||
{{#if: {{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}|<div class='newArticles' style="width: 100%; background-image: linear-gradient(to bottom,#cee9ff, white); margin-top: 10px; display: table;"> | {{#if: {{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}|<div class='newArticles' style="width: 100%; background-image: linear-gradient(to bottom,#cee9ff, white); margin-top: 10px; display: table;"> | ||
− | <h2 style="padding: 5px; vertical-align: middle">'''{{{عنوان}}}'''</h2> | + | [[image={{{آیکن}}}|40px|alt=|link=]]<h2 style="padding: 5px; vertical-align: middle">'''{{{عنوان}}}'''</h2> |
<div style="padding: 10px; width: calc(33% - 21px); float: right; border-left: 1px white solid; margin: 5px auto">{{Str mid|{{:{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}}}|1||{{#expr: {{strfind short|{{:{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}}}|]]}} + 1}}}} | <div style="padding: 10px; width: calc(33% - 21px); float: right; border-left: 1px white solid; margin: 5px auto">{{Str mid|{{:{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}}}|1||{{#expr: {{strfind short|{{:{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}}}|]]}} + 1}}}} | ||
<h3 style="text-align: center">[[{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}]]</h3> | <h3 style="text-align: center">[[{{#explode: {{الگو:صفحهٔ اصلی/نمایش جدیدترینها/نام مقالهها|{{{نوع}}}}}| ،|0}}]]</h3> |