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

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<noinclude>
<noinclude>


این الگو برای ثبت و نمایش متن فعلی و سوابق تقنینی مواد قوانین استفاده می‌شود.
این الگو برای ثبت و نمایش نسخه‌های تقنینی مواد قوانین استفاده می‌شود.


{{#cargo_declare:
{{#cargo_declare:
خط ۱۲: خط ۱۲:
|وضعیت=String
|وضعیت=String
|تاریخ_اصلاح=Date
|تاریخ_اصلاح=Date
|مبنای_اصلاح=Page
|مبنای_اصلاح=String
|متن=Wikitext
|متن=Wikitext
|توضیح_تغییر=Wikitext
|توضیح_تغییر=Wikitext
|منبع=URL
|منبع=URL
|یادداشت=Wikitext
}}
}}


</noinclude>
</noinclude><includeonly>
 
<includeonly>


{{#cargo_store:
{{#cargo_store:
خط ۳۶: خط ۳۳:
|توضیح_تغییر={{{توضیح تغییر|}}}
|توضیح_تغییر={{{توضیح تغییر|}}}
|منبع={{{منبع|}}}
|منبع={{{منبع|}}}
|یادداشت={{{یادداشت|}}}
}}
}}


<div class="wd-article-version"
<div class="wd-version-history-card"
    style="direction:rtl; text-align:right; margin:20px 0; padding:0; border:1px solid #dfe7e5; border-radius:10px; overflow:hidden; background:#ffffff;">
style="direction:rtl; text-align:right; margin:8px 0; padding:0; border:1px solid #dfe7e5; border-radius:8px; overflow:hidden; background:#ffffff;">


<div style="display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 15px; background:#f1f6f4; border-bottom:1px solid #dfe7e5;">
<div style="display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; background:#f5f8f7; border-bottom:1px solid #e3eae7;">


<div style="font-size:15px; font-weight:800; color:#245b55;">
<div style="font-size:13px; line-height:1.9; color:#405b56;">


{{#ifeq:{{{وضعیت|}}}|فعلی|
متن فعلی
|
{{#ifeq:{{{نسخه|}}}|1|
{{#ifeq:{{{نسخه|}}}|1|
متن اولیه
<strong>متن مصوب اولیه</strong>
|
|
متن پیشین
<strong>اصلاحیه</strong>
}}
}}
}}


</div>
</div>


<div style="font-size:12px; color:#58736e;">
<div class="wd-version-toggle"
{{#if:{{{تاریخ اصلاح|}}}|{{{تاریخ اصلاح}}}}}
style="display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:5px !important; box-sizing:border-box !important; padding:5px 10px !important; margin:0 !important; border:1px solid #cbdad5 !important; border-radius:6px !important; background:#ffffff !important; color:#176c88 !important; font-size:11px !important; font-weight:bold !important; cursor:pointer !important; user-select:none !important; white-space:nowrap !important; line-height:1.5 !important;">
 
<span class="wd-version-toggle-icon"
style="display:inline-block !important; margin:0 !important; padding:0 !important; color:#176c88 !important; font-size:13px !important; font-weight:bold !important; line-height:1 !important;">+</span>
 
<span class="wd-version-toggle-label"
style="display:inline-block !important; margin:0 !important; padding:0 !important; color:#176c88 !important; font-size:11px !important; font-weight:bold !important; line-height:1.5 !important; white-space:nowrap !important;">
مشاهده متن
</span>
 
</div>
</div>


</div>
</div>


<div style="padding:14px 16px;">
{{#ifeq:{{{نسخه|}}}|1||
<div style="padding:8px 12px;">


<div style="font-size:12px; color:#687773; margin-bottom:8px;">
<div style="font-size:12px; line-height:1.9; color:#60706c;">


{{#ifeq:{{{وضعیت|}}}|فعلی|
سند اصلاح:
اصلاحی {{{تاریخ اصلاح|}}}
<strong style="color:#405b56;">
{{{مبنای اصلاح|}}}
</strong>
 
{{#if:{{{تاریخ اصلاح|}}}|
<span style="margin-right:10px;">
— تاریخ تصویب:
<strong style="color:#405b56;">
{{{تاریخ اصلاح}}}
</strong>
</span>
|
|
{{#ifeq:{{{نسخه|}}}|1|
مصوب {{{تاریخ شروع|}}}
|
اصلاحی {{{تاریخ اصلاح|}}}
}}
}}
}}


</div>
<div style="font-size:15px; line-height:2.15; color:#263238;">
{{{متن|}}}
</div>
</div>


{{#if:{{{توضیح تغییر|}}}|
{{#if:{{{توضیح تغییر|}}}|
<div style="margin-top:12px; padding-top:10px; border-top:1px solid #e7ecea; font-size:13px; line-height:2; color:#60706c;">
<div style="margin-top:6px; font-size:12px; line-height:1.9; color:#687773;">
 
<strong>سابقه اصلاح:</strong>
 
{{{توضیح تغییر}}}
{{{توضیح تغییر}}}
</div>
|
}}


</div>
</div>
}}
}}


{{#if:{{{مبنای اصلاح|}}}|
<div class="wd-version-text"
<div style="margin-top:9px; font-size:13px; color:#52615e;">
style="display:none; padding:12px; border-top:1px solid #e7ecea; background:#fffdf8;">
 
<strong>مبنای اصلاح:</strong>
 
{{{مبنای اصلاح}}}


<div style="font-size:15px; line-height:2.15; color:#263238;">
{{{متن|}}}
</div>
</div>
}}


{{#if:{{{منبع|}}}|
{{#if:{{{منبع|}}}|
<div style="margin-top:9px; font-size:12px; color:#607d8b;">
<div style="margin-top:9px; padding-top:8px; border-top:1px solid #e7ecea; font-size:12px; color:#607d8b;">


<strong>منبع:</strong>
<strong>منبع:</strong>
خط ۱۱۴: خط ۱۱۴:


</div>
</div>
|
}}
}}



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


این الگو برای ثبت و نمایش نسخه‌های تقنینی مواد قوانین استفاده می‌شود.

این الگو جدول «WDArticleVersions» را تعریف می‌کند. مشاهدهٔ جدول. یک جدول جایگزین برای این جدول ساخته شد; جدول جایگزین را مشاهده کنید.