|
|
| (۲۰ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) |
| خط ۱: |
خط ۱: |
| <noinclude> | | <noinclude> |
| | این الگو برای نمایش شناسنامه ماده و سابقه تقنینی آن استفاده میشود. |
| | </noinclude><includeonly> |
|
| |
|
| این الگو برای ثبت و نمایش شناسنامه ساختاری مواد قوانین استفاده میشود.
| | <div class="wd-article-identity-card" |
| | style="direction:rtl;text-align:right;margin:10px 0;padding:8px 12px;border:1px solid #dfe7e5;border-radius:8px;background:#fff;"> |
|
| |
|
| {{#cargo_declare:
| | <div style="display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:13px;line-height:2;"> |
| _table=WDArticleMetadata
| |
| |قانون=Page
| |
| |شماره_ماده=Integer
| |
| |وضعیت=String
| |
| |تاریخ_تصویب=Date
| |
| |تاریخ_آخرین_اصلاح=Date
| |
| |موضوع=String
| |
| |سابقه_تقنینی=String
| |
| |مبنای_آخرین_اصلاح=Page
| |
| |یادداشت=Wikitext
| |
| }}
| |
| | |
| </noinclude>
| |
| | |
| <includeonly>
| |
| | |
| {{#cargo_store:
| |
| _table=WDArticleMetadata
| |
| |قانون={{{قانون|}}}
| |
| |شماره_ماده={{{شماره ماده|}}}
| |
| |وضعیت={{{وضعیت|}}}
| |
| |تاریخ_تصویب={{{تاریخ تصویب|}}}
| |
| |تاریخ_آخرین_اصلاح={{{تاریخ آخرین اصلاح|}}}
| |
| |موضوع={{{موضوع|}}}
| |
| |سابقه_تقنینی={{{سابقه تقنینی|}}}
| |
| |مبنای_آخرین_اصلاح={{{مبنای آخرین اصلاح|}}}
| |
| |یادداشت={{{یادداشت|}}}
| |
| }}
| |
| | |
| <div class="wd-article-metadata" | |
| 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:9px 14px; background:#f3f7f5; border-bottom:1px solid #dfe7e5; font-size:14px; font-weight:800; color:#245b55;">
| |
| وضعیت و سابقه ماده
| |
| </div>
| |
| | |
| <div style="display:grid; grid-template-columns:repeat(2,minmax(0,1fr));">
| |
| | |
| <div style="padding:9px 14px; border-bottom:1px solid #edf1ef;">
| |
| | |
| <span style="font-size:12px; color:#71807c;">
| |
| وضعیت
| |
| </span>
| |
| | |
| <br>
| |
|
| |
|
| <strong style="font-size:13px; color:#28706a;"> | | <span> |
| | <strong>وضعیت:</strong> |
| {{{وضعیت|}}} | | {{{وضعیت|}}} |
| </strong>
| |
|
| |
| </div>
| |
|
| |
|
| |
| <div style="padding:9px 14px; border-right:1px solid #edf1ef; border-bottom:1px solid #edf1ef;">
| |
|
| |
| <span style="font-size:12px; color:#71807c;">
| |
| تاریخ تصویب
| |
| </span> | | </span> |
|
| |
|
| <br> | | {{#if:{{{تاریخ تصویب|}}}| |
| | | <span> |
| <strong style="font-size:13px; color:#405b56;"> | | <strong>تاریخ تصویب:</strong> |
| {{{تاریخ تصویب|}}} | | {{{تاریخ تصویب|}}} |
| </strong> | | </span> |
| | |
| </div>
| |
| | |
| | |
| {{#ifeq:{{{سابقه تقنینی|}}}|دارد|
| |
| | |
| <div style="grid-column:1 / -1; padding:10px 14px; background:#fafcfb;">
| |
| | |
| <div style="font-size:12px; color:#71807c; margin-bottom:3px;">
| |
| سابقه تقنینی
| |
| </div>
| |
| | |
| <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:{{{تاریخ آخرین اصلاح|}}}| | | {{#if:{{{تاریخ آخرین اصلاح|}}}| |
| <span style="margin-right:10px;"> | | <span> |
| آخرین اصلاح: | | <strong>آخرین اصلاح:</strong> |
| <strong style="color:#405b56;"> | | {{{تاریخ آخرین اصلاح|}}} |
| {{{تاریخ آخرین اصلاح}}} | |
| </strong>
| |
| </span> | | </span> |
| }} | | }} |
|
| |
|
| </div>
| | {{#if:{{{مبنای آخرین اصلاح|}}}| |
| | | <span> |
| <span class="wd-article-history-toggle"
| | <strong>مبنای اصلاح:</strong> |
| 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> |
|
| |
|
| | {{#ifeq:{{{سابقه تقنینی|}}}|دارد| |
|
| |
|
| <div class="wd-article-history-inline" | | <div style="margin-top:8px;padding-top:8px;border-top:1px solid #e7ecea;"> |
| 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 style="font-size:13px;font-weight:bold;color:#405b56;margin-bottom:8px;"> |
| سوابق تقنینی ثبتشده برای این ماده
| | سابقه تقنینی |
| </div> | | </div> |
|
| |
|
| خط ۱۲۳: |
خط ۴۷: |
| tables=WDArticleVersions | | tables=WDArticleVersions |
| |fields=نسخه=نسخه,وضعیت=وضعیت,تاریخ_شروع=تاریخ_شروع,تاریخ_پایان=تاریخ_پایان,تاریخ_اصلاح=تاریخ_اصلاح,مبنای_اصلاح=مبنای_اصلاح,متن=متن,توضیح_تغییر=توضیح_تغییر,منبع=منبع | | |fields=نسخه=نسخه,وضعیت=وضعیت,تاریخ_شروع=تاریخ_شروع,تاریخ_پایان=تاریخ_پایان,تاریخ_اصلاح=تاریخ_اصلاح,مبنای_اصلاح=مبنای_اصلاح,متن=متن,توضیح_تغییر=توضیح_تغییر,منبع=منبع |
| |where=WDArticleVersions.قانون='{{{قانون|}}}' AND WDArticleVersions.شماره_ماده={{{شماره ماده|0}}} | | |where=WDArticleVersions.قانون='{{{قانون|}}}' AND WDArticleVersions.شماره_ماده={{{شماره ماده|}}} |
| |order by=WDArticleVersions.نسخه ASC | | |order by=نسخه ASC |
| |format=template | | |format=template |
| |template=نمایش نسخه ماده | | |template=نمایش نسخه ماده |
| |named args=yes | | |named args=yes |
| | |limit=50 |
| }} | | }} |
|
| |
| </div>
| |
|
| |
| </div>
| |
|
| |
| |
| |
|
| |
| <div style="grid-column:1 / -1; padding:10px 14px;">
| |
|
| |
| <span style="font-size:12px; color:#71807c;">
| |
| سابقه تقنینی
| |
| </span>
| |
|
| |
| <br>
| |
|
| |
| <strong style="font-size:13px; color:#687773;">
| |
| ثبت نشده
| |
| </strong>
| |
|
| |
|
| </div> | | </div> |
|
| |
|
| }} | | }} |
|
| |
|
| |
| {{#if:{{{یادداشت|}}}|
| |
|
| |
| <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>
| |
| {{{یادداشت}}}
| |
|
| |
| </div>
| |
|
| |
| }}
| |
|
| |
| </div>
| |
|
| |
|
| </div> | | </div> |
|
| |
|
| </includeonly> | | </includeonly> |
این الگو برای نمایش شناسنامه ماده و سابقه تقنینی آن استفاده میشود.