|
|
| خط ۱: |
خط ۱: |
| <noinclude>
| |
|
| |
| این الگو برای ثبت و نمایش شناسنامه ساختاری مواد قوانین استفاده میشود.
| |
|
| |
| {{#cargo_declare:
| |
| _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:9px; overflow:hidden; background:#ffffff;">
| |
|
| |
| <div style="display:flex; align-items:center; gap:20px; flex-wrap:wrap; padding:10px 14px; background:#f3f7f5;">
| |
|
| |
| <div style="font-size:14px; font-weight:800; color:#245b55; white-space:nowrap;">
| |
| شناسنامه ماده
| |
| </div>
| |
|
| |
| <div style="font-size:12px; color:#71807c; white-space:nowrap;">
| |
| وضعیت:
| |
| <strong style="color:#28706a;">
| |
| {{{وضعیت|}}}
| |
| </strong>
| |
| </div>
| |
|
| |
| <div style="font-size:12px; color:#71807c; white-space:nowrap;">
| |
| تاریخ تصویب:
| |
| <strong style="color:#405b56;">
| |
| {{{تاریخ تصویب|}}}
| |
| </strong>
| |
| </div>
| |
|
| |
| {{#if:{{{تاریخ آخرین اصلاح|}}}|
| |
|
| |
| <div style="font-size:12px; color:#71807c; white-space:nowrap;">
| |
| آخرین اصلاح:
| |
| <strong style="color:#405b56;">
| |
| {{{تاریخ آخرین اصلاح}}}
| |
| </strong>
| |
| </div>
| |
|
| |
| |}}
| |
|
| |
| {{#if:{{{مبنای آخرین اصلاح|}}}|
| |
|
| |
| <div style="font-size:12px; color:#71807c; white-space:nowrap;">
| |
| مبنای اصلاح:
| |
| <strong style="color:#405b56;">
| |
| {{{مبنای آخرین اصلاح}}}
| |
| </strong>
| |
| </div>
| |
|
| |
| |}}
| |
|
| |
| </div>
| |
|
| |
| {{#ifeq:{{{سابقه تقنینی|}}}|دارد|
| |
|
| |
| <div style="padding:10px 14px; background:#fafcfb; border-top:1px solid #e6ece9;">
| |
|
| |
| <div style="font-size:12px; color:#687773; margin-bottom:8px; font-weight:700;">
| |
| سابقه تقنینی
| |
| </div>
| |
|
| |
| {{#cargo_query: | | {{#cargo_query: |
| tables=WDArticleVersions | | tables=WDArticleVersions |
| |fields=نسخه=نسخه,وضعیت=وضعیت,تاریخ_شروع=تاریخ_شروع,تاریخ_پایان=تاریخ_پایان,تاریخ_اصلاح=تاریخ_اصلاح,مبنای_اصلاح=مبنای_اصلاح,متن=متن,توضیح_تغییر=توضیح_تغییر,منبع=منبع | | |fields=نسخه=نسخه,وضعیت=وضعیت,تاریخ_شروع=تاریخ_شروع,تاریخ_پایان=تاریخ_پایان,تاریخ_اصلاح=تاریخ_اصلاح,مبنای_اصلاح=مبنای_اصلاح,متن=متن,توضیح_تغییر=توضیح_تغییر,منبع=منبع |
| |where=WDArticleVersions.قانون='{{{قانون|}}}' AND WDArticleVersions.شماره_ماده={{{شماره ماده|0}}} | | |where=قانون='{{{قانون|}}}' AND شماره_ماده={{#expr:{{{شماره ماده|0}}}}} |
| |order by=WDArticleVersions.نسخه ASC | | |order by=نسخه ASC |
| |format=template | | |format=template |
| |template=نمایش نسخه ماده | | |template=نمایش نسخه ماده |
| |named args=yes | | |named args=yes |
| | |limit=50 |
| }} | | }} |
|
| |
| </div>
| |
|
| |
| |}}
| |
|
| |
| {{#if:{{{یادداشت|}}}|
| |
|
| |
| <div style="padding:8px 14px; border-top:1px solid #edf1ef; font-size:12px; line-height:1.9; color:#52615e;">
| |
|
| |
| <strong>یادداشت:</strong>
| |
| {{{یادداشت}}}
| |
|
| |
| </div>
| |
|
| |
| |}}
| |
|
| |
| </div>
| |
|
| |
| </includeonly>
| |
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\xD9\x82\xD8\xA7\xD9\x86\xD9\x88\xD9\x86=
AND \xD8\xB4\xD9\x85\xD8\xA7\xD8\xB1' at line 1
Function: CargoSQLQuery::run
Query: SELECT `WDArticleVersions`.`_pageID` AS `cargo_backlink_page_id_WDArticleVersions`,`نسخه` AS `نسخه`,`وضعیت` AS `وضعیت`,`تاریخ_شروع` AS `تاریخ_شروع`,`تاریخ_پایان` AS `تاریخ_پایان`,`تاریخ_اصلاح` AS `تاریخ_اصلاح`,`مبنای_اصلاح` AS `مبنای_اصلاح`,`متن` AS `متن`,`توضیح_تغییر` AS `توضیح_تغییر`,`منبع` AS `منبع`,`تاریخ_شروع__precision` AS `تاریخ_شروع__precision`,`تاریخ_پایان__precision` AS `تاریخ_پایان__precision`,`تاریخ_اصلاح__precision` AS `تاریخ_اصلاح__precision` FROM `cargo__WDArticleVersions` `WDArticleVersions` WHERE قانون= AND شماره_ماده=0 ORDER BY `نسخه` LIMIT 100