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