الگو:شناسنامه ماده: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۳۴: | خط ۳۴: | ||
<div class="wd-article-metadata" | <div class="wd-article-metadata" | ||
style="direction:rtl; text-align:right; margin: | style="direction:rtl; text-align:right; margin:14px 0 20px; padding:0; border:1px solid #dfe7e5; border-radius:10px; overflow:hidden; background:#ffffff;"> | ||
<div style="padding: | <div style="padding:9px 14px; background:#f3f7f5; border-bottom:1px solid #dfe7e5; font-size:14px; font-weight:800; color:#245b55;"> | ||
وضعیت و سابقه ماده | |||
</div> | </div> | ||
| خط ۴۳: | خط ۴۳: | ||
<div style="padding:9px 14px; border-bottom:1px solid #edf1ef;"> | <div style="padding:9px 14px; border-bottom:1px solid #edf1ef;"> | ||
<span style="font-size:12px; color:#71807c;"> | |||
<span style="font-size:12px; color:#71807c;"> | وضعیت | ||
</span> | |||
<br> | <br> | ||
<strong style="font-size:13px; color:#28706a;"> | <strong style="font-size:13px; color:#28706a;"> | ||
{{{وضعیت|}}} | {{{وضعیت|}}} | ||
</strong> | </strong> | ||
</div> | </div> | ||
<div style="padding:9px 14px; border-right:1px solid #edf1ef; border-bottom:1px solid #edf1ef;"> | <div style="padding:9px 14px; border-right:1px solid #edf1ef; border-bottom:1px solid #edf1ef;"> | ||
<span style="font-size:12px; color:#71807c;"> | |||
<span style="font-size:12px; color:#71807c;"> | |||
تاریخ تصویب | |||
</span> | |||
<br> | <br> | ||
<strong style="font-size:13px; color:#405b56;"> | <strong style="font-size:13px; color:#405b56;"> | ||
{{{تاریخ تصویب|}}} | {{{تاریخ تصویب|}}} | ||
</strong> | </strong> | ||
</div> | </div> | ||
<div style="padding: | |||
< | {{#ifeq:{{{سابقه تقنینی|}}}|دارد| | ||
<div style="grid-column:1 / -1; padding:10px 14px; background:#fafcfb;"> | |||
<div style="font-size:12px; color:#71807c; margin-bottom:3px;"> | |||
سابقه تقنینی | |||
</div> | </div> | ||
<div style=" | <div style="display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;"> | ||
<div style="font-size:13px; color:#52615e;"> | |||
< | |||
{{# | {{#if:{{{مبنای آخرین اصلاح|}}}| | ||
< | مبنای اصلاح: | ||
<strong style="color:#405b56;"> | |||
{ | {{{مبنای آخرین اصلاح}}} | ||
</strong> | |||
}} | }} | ||
{{#if:{{{تاریخ آخرین اصلاح|}}}| | |||
<span style="margin-right:10px;"> | |||
آخرین اصلاح: | |||
<strong style="color:#405b56;"> | |||
{{{تاریخ آخرین اصلاح}}} | |||
</strong> | |||
</span> | |||
}} | }} | ||
</ | </div> | ||
<span class="wd-article-history-toggle" | |||
style="display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border:1px solid #cbdad5; border-radius:6px; background:#ffffff; color:#176c88; font-size:12px; font-weight:bold; cursor:pointer; user-select:none;"> | |||
<span class="wd-article-history-toggle-icon">+</span> | |||
<span class="wd-article-history-toggle-label">مشاهده سوابق</span> | |||
</span> | </span> | ||
</div> | |||
<div class="wd-article-history-inline" | |||
style="display:none; margin-top:11px; padding-top:11px; border-top:1px solid #e3ebe8;"> | |||
<div style="font-size:13px; color:#687773; margin-bottom:9px;"> | |||
سوابق تقنینی ثبتشده برای این ماده | |||
</div> | |||
{{#cargo_query: | |||
tables=WDArticleVersions | |||
|fields=نسخه=نسخه,وضعیت=وضعیت,تاریخ_شروع=تاریخ_شروع,تاریخ_پایان=تاریخ_پایان,تاریخ_اصلاح=تاریخ_اصلاح,مبنای_اصلاح=مبنای_اصلاح,متن=متن,توضیح_تغییر=توضیح_تغییر,منبع=منبع | |||
|where=WDArticleVersions.قانون='{{{قانون|}}}' AND WDArticleVersions.شماره_ماده={{{شماره ماده|0}}} | |||
|order by=WDArticleVersions.نسخه ASC | |||
|format=template | |||
|template=نمایش نسخه ماده | |||
|named args=yes | |||
}} | }} | ||
</div> | |||
</div> | </div> | ||
<div style=" | | | ||
<span style="font-size:12px; color:#71807c;"> | |||
<div style="grid-column:1 / -1; padding:10px 14px;"> | |||
<span style="font-size:12px; color:#71807c;"> | |||
سابقه تقنینی | |||
</span> | |||
<br> | <br> | ||
<strong style="font-size:13px; color:# | |||
<strong style="font-size:13px; color:#687773;"> | |||
ثبت نشده | |||
</strong> | </strong> | ||
</div> | </div> | ||
}} | |||
{{#if:{{{یادداشت|}}}| | {{#if:{{{یادداشت|}}}| | ||
<div style="grid-column:1 / -1; padding:9px 14px; font-size: | |||
<div style="grid-column:1 / -1; padding:9px 14px; font-size:12px; line-height:1.9; color:#52615e; border-top:1px solid #edf1ef;"> | |||
<strong>یادداشت:</strong> | <strong>یادداشت:</strong> | ||
{{{یادداشت}}} | {{{یادداشت}}} | ||
</div> | </div> | ||
}} | }} | ||
نسخهٔ ۱۲ سپتامبر ۲۰۲۶، ساعت ۱۲:۳۱
این الگو برای ثبت و نمایش شناسنامه ساختاری مواد قوانین استفاده میشود.
این الگو جدول «WDArticleMetadata» را تعریف میکند. این جدول، هنوز ایجاد نشده است.