وحدة:بطاقة/قالب/دستور

من ويكيبيديا، الموسوعة الحرة

-- Credits:
--  وهراني @arwiki (ar:وحدة:بطاقة/قالب/دستور)
-- Version: 20240413

local generic = require "وحدة:بطاقة/أدوات"

return 	{
	maincolor = '#ededed',
	wikimod='Wikidata.Ca',
 	parts =
    	{
        generic.title(),
        generic.native_name(),
		generic.logo(),
		generic.mainimage(),
		generic.mainimage({wikidata={property='P996'}}), 
        
        {type = 'table', title='نظرة عامة' ,
            rows = {
                    {type = 'row', label = 'جزء من', 
                        value = {'جزء من','part_of'}, 
                        wikidata = {property = 'P361 OR P179', formatting='table',
                        	qualifier1='P1545',conjunction='<br />',
                        	rowformat='$0$R0 $1', rowsubformat1='<small><br />رقم: $1</small>' }
                    },
                    {type = 'row', label = 'الاختصاص', 
                        value = {'اختصاص','jurisdiction'}, 
                        wikidata = {property = 'P1001 OR P17'}
                    },
                    {type = 'row', label = 'خاضع لـ', 
                        value = {'خاضع','subordinate_to'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'الإنشاء', 
                        value = {'تاريخ_الإنشاء','date_created'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'التقديم', 
                        value = {'تاريخ_التقديم','date_presented'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'اللغة', 
                        value = {'لغة','language'}, 
                        wikidata = {property = 'P407 OR P37'}
                    },
                    {type = 'row', label = 'الموافقة', 
                        value = {'موافقة','approved_by'}, 
                        wikidata = {property = 'P790 OR P467', showDate='true', formatting='table',
                        	qualifier1='P459',conjunction='<br />', 
                        	rowformat='$0$R0 $1', rowsubformat1='<small><br />من خلال: $1</small>'}
                    },
                    {type = 'row', label = 'ال[[تصديق]]', 
                        value = {'تاريخ_التصديق','date_ratified'}, 
                        wikidata = {property = 'P6193', showDate='true', 
                        	qualifier1='P805',conjunction='<br />', 
                        	rowformat='$0$R0 $1', rowsubformat1='<small><br />من خلال: $1</small>'}
                    },
                    {type = 'row', label = '[[تاريخ سريان المفعول]]', 
                        value = {'تاريخ_السريان','date_effective'}, 
                        wikidata = {property = 'P580 OR P7589 OR P571'}
                    },
                    {type = 'row',
						label = 'عوض',
						value = {'عوض','replaces'},
						property = 'P1398',	
                    },
                    {type = 'row',
						label = 'حل مكانه',
						value = {'حل_مكانه','replaced_by'},
						property = 'P1366',	
                    },
                    {type = 'row', label = '[[حكومة|النظام]]', 
                        value = {'نظام','system'}, 
                        --wikidata = {property = 'P'}
                    },
        }},
        {type = 'table', title='هيكيلية الحكومة' ,
            rows = {
                    {type = 'row', label = '[[فصل السلطات|السلطات]]', 
                        value = {'سلطات','branches'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[رأس الدولة]]', 
                        value = {'رأس_الدولة','head_of_state'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[مجالس تشريعية (غرف برلمانية)|الغرف]]', 
                        value = {'غرف','chambers'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[سلطة تنفيذية|التنفيذية]]', 
                        value = {'تنفيذية','executive'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[سلطة قضائية|القضائية]]', 
                        value = {'قضائية','courts'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'ال[[فدرالية]]', 
                        value = {'فدرالية','federalism'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[مجمع انتخابي|المجمع الانتخابي]]', 
                        value = {'مجمع_انتخابي','electoral_college'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = '[[نص محصن|النصوص المحصنة]]', 
                        value = {'عدد_التحصينات','number_entrenchments'}, 
                        --wikidata = {property = 'P'}
                    },
        }},
        {type = 'table', title='التاريخ', 
            rows = {
                    {type = 'row', label = '[[سلطة تشريعية|السلطة التشريعية]]', 
                        value = {'date_legislature'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'أول تنفيذية', 
                        value = {'أول_تنفيذية', 'date_first_executive'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'أول قضائية', 
                        value = {'أول_قضائية', 'date_first_court'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'تاريخ الإبطال', 
                        value = {'تاريخ_الإبطال', 'date_repealed'}, 
                        wikidata = {property = 'P582'}
                    },
                    {type = 'row', label = 'عدد الدساتير', 
                        value = {'عدد_الدساتير','number_amendments'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'آخر دستور', 
                        value = {'آخر_دستور','date_last_amended'}, 
                        wikidata = {property = 'P5017'}
                    },
                    {type = 'row', label = 'الاستشهاد', 
                        value = {'استشهاد', 'citation'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'مكان الدستور', 
                        value = {'مكان_الدستور','location_of_document'}, 
                        wikidata = {property = 'P485'}
                    },
                    {type = 'row', label = 'طلبه', 
                        value = {'طلبه','commissioned'}, 
                        --wikidata = {property = 'P'}
                    },
                    {type = 'row', label = 'المؤلفون', 
                        value = {'مؤلف','المؤلفون','writer'}, 
                        wikidata = {property = 'P50'}
                    },
                    {type = 'row', label = 'الموقعون', 
                        value = {'موقعون','signers'}, 
                        wikidata = {property = 'P1891', showDate='true', conjunction='<br />'}
                    },
                    {type = 'row', label = 'الدساتير الملغاة', 
                        value = {'دساتير_الملغاة','supersedes'}, 
                        wikidata = {property = 'P3148', showDate='true', conjunction='<br />'}
                    },
                    {type = 'navbox', inner='y'
                    			,previousparameter = {"سابق","predecessor"}, previousproperty = "P155"
                    			,nextparameter = {"لاحق","successor"},	nextproperty = "P156"
                    },
        }},
        {type = 'table', title='النص الكامل',
            rows = {
                    {type = 'row', label = 'Media type', 
                        value = {'media_type'}, 
                        --wikidata = {property = 'P'}
                    },
                   {type = 'row', label = 'نشر في', 
                        value = {'نشر_في','published_in'}, 
                        wikidata = {property = 'P1433', conjunction='<br />', formatting='table', 
                        	rowformat='$0$R0 $1$2$3$4', 
                        	qualifier='P577 OR /P577', qualifier2='P478',qualifier3='P433',qualifier4='P304',
                        	rowsubformat1='<small>($1)</small>',
                        	rowsubformat2='<small><br />المجلد: $2</small>',
                        	rowsubformat3='<small><br />الرقم: $3</small>',
                        	rowsubformat4='<small><br />الصفحات: $4</small>',
                        }
                    },
                    {type = 'row', label = '[[File:wikisource-logo.svg|16px|link=|alt=]] [[ويكي مصدر]]', 
                        value = {'native_wikisource'}, 
                        wikidata = {property = 'P1957', listrank='bestrank'}
                    },
                    generic.website({label = 'على موقع خارجي',value = {'موقع خارجي', 'native_external_url'},property = 'P953'}) ,       
        }},
        {type = 'table', title='[[File:wikisource-logo.svg|16px|link=|alt=]] [[ويكي مصدر]]',
            rows = {
                    {type = 'row1col',  
                        value = {'wikisource1'},
                    },
                    {type = 'row1col',  
                        value = {'wikisource2'},
                    },
                    {type = 'row1col',  
                        value = {'wikisource3'},
                    },
                    {type = 'row1col',  
                        value = {'wikisource4'},
                    },
                    {type = 'row1col',  
                        value = {'wikisource5'},
                    },

                    {type = 'row1col',  
                        value = {'misc','module'},
                    },
                    {type = 'row1col',  
                        value = {'misc2','module2'},
                    },
                    {type = 'row1col',  
                        value = {'misc3','module3'},
                    },
                    {type = 'row1col',  
                        value = {'misc4','module4'},
                    },
                    {type = 'row1col',  
                        value = {'misc5','module5'},
                    },
                    {type = 'row1col',  
                        value = {'misc6','module6'},
                    },
        }},
}}