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

از ویکی داد
پرش به ناوبری پرش به جستجو
صفحه‌ای تازه حاوی «<noinclude> این الگو برای ثبت نسخه‌های تاریخی و فعلی مواد قوانین در جدول WDArticleVersions استفاده می‌شود. {{#cargo_declare: _table=WDArticleVersions |قانون=Page |شماره_ماده=Integer |نسخه=Integer |تاریخ_شروع=Date |تاریخ_پایان=Date |وضعیت=String |تاریخ_اصلاح=Date |مبنای_اصلاح=Page |متن=Wikitext |توضیح_...» ایجاد کرد
 
بدون خلاصۀ ویرایش
 
(۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<noinclude>
<noinclude>


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


{{#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-version-history-card"
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;">
{{#ifeq:{{{نسخه|}}}|1|
<strong>متن مصوب اولیه</strong>
|
<strong>اصلاحیه</strong>
}}
</div>
<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>
{{#ifeq:{{{نسخه|}}}|1||
<div style="padding:8px 12px;">
<div style="font-size:12px; line-height:1.9; color:#60706c;">
سند اصلاح:
<strong style="color:#405b56;">
{{{مبنای اصلاح|}}}
</strong>
{{#if:{{{تاریخ اصلاح|}}}|
<span style="margin-right:10px;">
— تاریخ تصویب:
<strong style="color:#405b56;">
{{{تاریخ اصلاح}}}
</strong>
</span>
|
}}
</div>
{{#if:{{{توضیح تغییر|}}}|
<div style="margin-top:6px; font-size:12px; line-height:1.9; color:#687773;">
{{{توضیح تغییر}}}
</div>
|
}}
</div>
}}
<div class="wd-version-text"
style="display:none; padding:12px; border-top:1px solid #e7ecea; background:#fffdf8;">
<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>
</div>


</includeonly>
</includeonly>

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


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

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