پرش به محتوا

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

از صبح نجف
جزبدون خلاصۀ ویرایش
برچسب‌ها: برگردانده‌شده ویرایش مبدأ ۲۰۱۷
جزبدون خلاصۀ ویرایش
برچسب: ویرایش مبدأ ۲۰۱۷
 
(۲۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div style="border: 1px solid #e0e0e0; padding: 15px; background: linear-gradient(145deg, #fefefe, #f5f7fa); border-radius: 12px; min-width: 250px; max-width: 650px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);">
<div style="display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; margin: 20px auto 0 auto;">
     <div style="font-size: 18px; font-weight: bold; color: #2c3e50; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #4a90e2; text-align: center;">📰 آخرین مطالب</div>
   
     <DynamicPageList>
    <!-- الگوی اول: مطالب وبلاگ نویس -->
namespace = main
<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 = 16
     <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
ordermethod = lastedit
        📰 وبلاگ نویس
order = descending
    </div>
mode = unordered
     <div style="color: #075985;">
suppresserrors = true
        <DynamicPageList>
addtitlecategory = false
category            = وبلاگ نویس
count               = 10
order                = descending
ordermethod         = categoryadd
addfirstcategorydate = true
shownamespace        = false
mode                 = unordered
suppresserrors       = true
</DynamicPageList>
</DynamicPageList>
    </div>
</div>
</div>




<div style="border: 1px solid #e0e0e0; padding: 15px; background: linear-gradient(145deg, #fefefe, #f5f7fa); border-radius: 12px; min-width: 250px; max-width: 650px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);">
<!-- الگوی سوم: مقالات -->
     <div style="font-size: 18px; font-weight: bold; color: #2c3e50; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #4a90e2; text-align: center;">🎲 مطالب تصادفی</div>
<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);">
     <DynamicPageList>
     <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
namespace = main
        📰 مقالات
count = 16
    </div>
ordermethod = sortkey
     <div style="color: #075985;">
order = ascending
        <DynamicPageList>
suppresserrors = true
category            = مقالات
count               = 10
order                = descending
ordermethod         = categoryadd
addfirstcategorydate = true
shownamespace        = false
mode                = unordered
suppresserrors       = true
</DynamicPageList>
</DynamicPageList>
    </div>
</div>
</div>
</div>

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

       📰 وبلاگ نویس


       📰 مقالات