پرش به محتوا

الگو:تست ماده: تفاوت میان نسخه‌ها

از ویکی داد
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۱۴ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div class="wd-test-box" style="direction:rtl; text-align:right; margin:30px 0; padding:0; background:#fff; border:1px solid #dfe7e5; border-right:6px solid {{{رنگ|#3978ad}}}; border-radius:14px; box-shadow:0 4px 18px rgba(20,60,55,0.07); overflow:hidden;">
<noinclude>


<!-- =========================
{{#cargo_attach:
    سربرگ تست
_table=WDTests
    ========================= -->
}}


<div style="padding:15px 20px; background:{{{پس‌زمینه|#eef4fa}}}; color:{{{رنگ متن|#275d88}}}; border-bottom:1px solid #dfe7e5;">
</noinclude>
 
<includeonly>
 
<div class="wd-test"
    data-answer="{{{پاسخ|}}}"
    data-law="{{{قانون|}}}"
    data-chapter="{{{فصل|}}}"
    data-topic="{{{مبحث|}}}"
    data-article="{{{ماده|}}}"
    data-subject="{{{موضوع|}}}"
    data-type="{{{نوع|}}}"
    style="direction:rtl;text-align:right;margin:30px 0;">
 
<div class="wd-test-header"
    style="padding:0 4px 11px;border-bottom:2px solid #8064a2;">
 
<div class="wd-test-question"
    style="font-size:16px;font-weight:bold;color:#263238;line-height:2.25;">
 
{{{سؤال|}}}
 
{{#if:{{{نوع|}}}|
<span class="wd-test-source"
      style="font-size:12px;font-weight:normal;color:#765f88;">
({{{نوع}}})
</span>
}}


<div style="font-size:18px; font-weight:bold;">
{{{برچسب|تست آزمونی}}}
</div>
</div>


{{#if:{{{منبع|}}}|
<div style="font-size:13px; color:#607d8b; margin-top:5px;">
منبع: {{{منبع}}}
</div>
</div>
}}


</div>


<div style="padding:17px 4px 8px;">


<!-- =========================
<div class="wd-test-options">
    سؤال و گزینه‌ها
    ========================= -->


<div style="padding:22px;">
{{{گزینه‌ها|}}}


<div style="margin-bottom:18px; color:#263238; font-size:16px; font-weight:bold; line-height:2.3;">
{{{سؤال|}}}
</div>
</div>




<!-- گزینه‌ها -->
<div class="wd-test-result"
    aria-live="polite"
    style="display:none;margin-top:14px;">


<div style="color:#37474f; font-size:15px; line-height:2.4;">
<div class="wd-test-result-message"
{{{گزینه‌ها|}}}
    style="font-size:14px;line-height:2.1;font-weight:bold;">
</div>
</div>




<!-- =========================
<div class="wd-test-answer"
     دکمه نمایش پاسخ
     style="display:none;margin-top:13px;">
    ========================= -->


<div style="text-align:center; margin-top:25px;">
<div style="
padding:14px 17px;
background:#fbfafc;
border-right:3px solid #8064a2;
border-radius:6px;
">


<span class="wd-test-toggle" role="button" tabindex="0"><span class="wd-test-show">▼ نمایش پاسخ و تحلیل</span><span class="wd-test-hide" style="display:none;">▲ مخفی کردن پاسخ</span></span>
{{#if:{{{پاسخ|}}}|
 
<div style="
font-size:14px;
font-weight:bold;
color:#654d83;
margin-bottom:8px;
line-height:2;
">
 
✓ پاسخ صحیح: {{{پاسخ}}}


</div>
</div>
}}




<!-- =========================
{{#if:{{{تحلیل|}}}|
    پاسخ + تحلیل + نکته
    ========================= -->


<div class="wd-test-answer" style="display:none; margin-top:20px;">
<div style="
font-size:14px;
color:#455a64;
line-height:2.15;
">


<div style="padding:16px 20px; background:#f3f8f6; border-right:4px solid #168477; border-radius:10px; color:#37474f; line-height:1.9;">
<strong>تحلیل:</strong>
{{{تحلیل}}}


<div style="font-size:17px; font-weight:bold; color:#11695f; margin-bottom:10px;">
✓ پاسخ و تحلیل
</div>
</div>


}}


<!-- پاسخ صحیح -->


{{#if:{{{پاسخ|}}}|
{{#if:{{{مستند|}}}|
<div style="margin-bottom:7px;">
<strong>پاسخ صحیح:</strong>
{{{پاسخ}}}
</div>
}}


<div style="
margin-top:9px;
padding-top:8px;
border-top:1px solid #ded7e4;
font-size:13px;
color:#607d8b;
line-height:2;
">


<!-- تحلیل -->
<strong>مستند قانونی:</strong>
{{{مستند}}}


{{#if:{{{تحلیل|}}}|
<div style="margin-top:4px;">
<strong>تحلیل:</strong>
{{{تحلیل}}}
</div>
</div>
}}
}}




<!-- نکته آزمونی -->
{{#if:{{{نکته|}}}|


{{#if:{{{نکته|}}}|
<div style="
<div style="margin-top:7px; padding-top:7px; border-top:1px solid #d9e5e2;">
margin-top:9px;
<strong style="color:#765b1e;">💡 نکته آزمونی:</strong>
padding-top:8px;
border-top:1px solid #ded7e4;
font-size:14px;
color:#765b1e;
line-height:2.15;
">
 
<strong>💡 نکته آزمونی:</strong>
{{{نکته}}}
{{{نکته}}}
</div>
</div>
}}
}}


خط ۹۸: خط ۱۴۴:


</div>
</div>
</includeonly>

نسخهٔ کنونی تا ۱۸ سپتامبر ۲۰۲۶، ساعت ۰۸:۵۸


This template adds rows to the table "WDTests", which is not declared by any template. مشاهدهٔ جدول.