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

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۲ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<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:10px; padding:8px 12px; background:#f5f8f7; border-bottom:1px solid #e3eae7;">
 
<div style="font-size:13px; line-height:1.9; color:#405b56;">


<div style="display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 15px; background:#f1f6f4; border-bottom:1px solid #dfe7e5;">
{{#ifeq:{{{نسخه|}}}|1|
<strong>متن مصوب اولیه</strong>
|
<strong>اصلاحیه</strong>
}}


<div style="font-size:15px; font-weight:800; color:#245b55;">
نسخه {{{نسخه|}}}
</div>
</div>


<div style="font-size:12px; color:#58736e;">
<div class="wd-version-toggle"
{{{وضعیت|}}}
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; line-height:1.9; color:#60706c;">
 
سند اصلاح:
<strong style="color:#405b56;">
{{{مبنای اصلاح|}}}
</strong>


<div style="font-size:12px; color:#687773; margin-bottom:8px;">
{{#if:{{{تاریخ اصلاح|}}}|
{{#if:{{{تاریخ شروع|}}}|از {{{تاریخ شروع}}}}}
<span style="margin-right:10px;">
{{#if:{{{تاریخ پایان|}}}| تا {{{تاریخ پایان}}}}}
تاریخ تصویب:
</div>
<strong style="color:#405b56;">
{{{تاریخ اصلاح}}}
</strong>
</span>
|
}}


<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>
 
{{#if:{{{منبع|}}}|
<div style="margin-top:9px; padding-top:8px; border-top:1px solid #e7ecea; font-size:12px; color:#607d8b;">
 
<strong>منبع:</strong>
 
<a href="{{{منبع}}}" rel="nofollow">
مشاهده منبع
</a>
 
</div>
</div>
|
}}
}}



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


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

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