پرش به محتوا

الگو:آخرین مطالب: تفاوت میان نسخه‌ها

از صبح نجف
جزبدون خلاصۀ ویرایش
برچسب‌ها: برگردانده‌شده ویرایش مبدأ ۲۰۱۷
جزبدون خلاصۀ ویرایش
برچسب: ویرایش مبدأ ۲۰۱۷
 
(۱۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div style="display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; margin: 20px auto 0 auto;">
<div style="display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; margin: 20px auto 0 auto;">
      
      
     <!-- الگوی اول: مطالب تصادفی -->
     <!-- الگوی اول: مطالب وبلاگ نویس -->
    <div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #fed7aa; padding: 18px; background: linear-gradient(135deg, #fffaf0, #fffbeb); border-radius: 16px; box-shadow: 0 8px 20px rgba(251,146,60,0.08);">
<div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #bae6fd; padding: 18px; background: linear-gradient(80deg, #e5ffe4, #ffffff); border-radius: 16px; box-shadow: 0 8px 20px rgba(14,165,233,0.08);">
        <div style="font-size: 18px; font-weight: bold; color: #c2410c; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #fb923c; text-align: center;">
    <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
            🎲 مطالب تصادفی
         📰 وبلاگ نویس
         </div>
        <div style="color: #78350f;">
            <DynamicPageList>
namespace = main
count = 16
ordermethod = sortkey
order = ascending
suppresserrors = true
</DynamicPageList>
        </div>
     </div>
     </div>
 
     <div style="color: #075985;">
    <!-- الگوی دوم: آخرین مطالب -->
         <DynamicPageList>
     <div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #bae6fd; padding: 18px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-radius: 16px; box-shadow: 0 8px 20px rgba(14,165,233,0.08);">
category             = وبلاگ نویس
         <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
count                = 10
             📰 آخرین مطالب
order                = descending
        </div>
ordermethod          = categoryadd
        <div style="color: #075985;">
addfirstcategorydate = true
            <DynamicPageList>
shownamespace        = false
namespace = main
mode                 = unordered
count = 16
suppresserrors       = true
ordermethod = lastedit
order = descending
mode = unordered
suppresserrors = true
addtitlecategory = false
</DynamicPageList>
</DynamicPageList>
        </div>
     </div>
     </div>
</div>
</div>




<includeonly><DynamicPageList>
<!-- الگوی سوم: مقالات -->
category            = {{{1|کتابخانه}}}
<div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #bae6fd; padding: 18px; background: linear-gradient(80deg, #e5ffe4, #ffffff); border-radius: 16px; box-shadow: 0 8px 20px rgba(14,165,233,0.08);">
count                = {{{2|10}}}
    <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
        📰 مقالات
    </div>
    <div style="color: #075985;">
        <DynamicPageList>
category            = مقالات
count                = 10
order                = descending
order                = descending
ordermethod          = categoryadd
ordermethod          = categoryadd
addfirstcategorydate = true
addfirstcategorydate = true
shownamespace        = false
mode                = unordered
mode                = unordered
shownamespace        = false
suppresserrors      = true
suppresserrors      = true
</DynamicPageList></includeonly>
</DynamicPageList>
    </div>
</div>
 
</div>

نسخهٔ کنونی تا ‏۱۴ اردیبهشت ۱۴۰۵، ساعت ۱۰:۳۰

       📰 وبلاگ نویس


       📰 مقالات