وحدة:بطاقة/قالب/عائلة

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

-- Credits:
-- Developer : وهراني @arwiki (وحدة:بطاقة/قالب/عائلة)
-- Version: 20240413

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

return  {
	maincolor = '#A7D4E7',
	wikimod = 'Wikidata.Ca',
    parts = {
        generic.title(),
		generic.native_name(),
        generic.coat_of_arms(),
		generic.mainimage(),

		{type = 'table' , title ='معلومات عامة', rows = {
			{type = 'row' , label = 'النوع' , 
					value = {'نوع','type'},
					wikidata={property='P31'}
			},
			{type = 'row' , label = 'العائلة السلف' , 
					value = {'سلف عائلة','parent_house','parent_family'},
					wikidata = {property='P361'}
			},
			{type = 'row' , label = 'أسماء أخرى' , 
					value = {'أسماء أخرى','other_name','other_names'}
			},
			generic.country(),
			{type = 'row' , label = 'الأصل العرقي' , 
					value = {'جنسية','عرق','nationality','ethnicity'}
			},
			{type = 'row' , label = 'المنطقة الحالية' , 
					value = {'منطقة','region'}
			},
			{type = 'row' , label = 'تهجئات سابقة' , 
					value = {'صيغ مبكرة','early_forms'}
			},
			{type = 'row' , label = 'أصل التسمية' , 
					value = {'أصل التسمية','meaning','etymology'}
			},
			{type = 'row' , label = 'مكان المنشأ' , 
					value = {'منشأ','origin'}, wikidata={property='P66'}
			},
			{type = 'row' , label = 'سنة التأسيس' , 
					value = {'سنة تأسيس','founding year','founding_year','founded'}
			},
			{type = 'row' , label = 'المؤسس' , 
					value = {'مؤسس','founder'}, wikidata={property='P112'}
			},
			{type = 'row' , label = 'الرأس الحالي' , 
					value = {'رأس حالي','current head','current_head'}
			},
			{type = 'row' , label = 'الحاكم الأخير' , 
					value = {'آخر حاكم','final ruler','final_ruler'}
			},
			{type = 'row' , label = 'الرأس الأخير' , 
					value = {'آخر رأس','final head','final_head'}
			},
			{type = 'row' , label = 'ألقاب' , 
					value = {'ألقاب','titles'}
			},
			{type = 'row' , label = 'لقب متعارف عليه' , 
					value = {'أنماط','styles'}
			},
			{type = 'row' , label = 'أبرز فرد' , 
					value = {'أبرز فرد','significant person'}, 
					wikidata={property='P3342', conjuction='<br />'}
			},
			{type = 'row' , label = 'الأفراد' , 
					value = {'أفراد','members'},
				wikidata= {
					formatting = 'table',
					property = 'P527',
					tablesort = 3,
					qualifier = 'P527/P19',
					qualifier2 = 'P527/P20',
					qualifier3 = 'P527/P569',
					rowsubformat3 = '$3&nbsp;',
					qualifier4 = 'P527/P570',
					rowsubformat4 = '$4&nbsp;',
					qualifier5 = 'P527/P106',
					rowsubformat5 = '. $5',
					qualifier6 = 'P527/P411',
					rowsubformat6 = '. $6',
					qualifier7 = 'P527/P841',
					rowsubformat7 = '&nbsp;<small>($7)</small>',
					qualifier8 = 'P527/P31',
					whitelist8 = 'Q5',
					qualifier9 = 'P527/P18',
					rowsubformat9 = '[[File:$9|right|25px]]',
					case5 = 'gender',
					case6 = 'gender',
					itemgender = 'P527',
					colformat5 = 'ucfirst', colformat3 = 'Y',
					colformat6 = 'ucfirst', colformat4 = 'Y',
					rowformat = '$9$0 ($3$1 - $4$2)$5$6$7',
					conjunction = '<br style="clear:both;" /><hr>'
				}
			},
			{type = 'row' , label = 'أفراد مرتبطون' , 
					value = {'أفراد مرتبطون','connectedmembers','connected_members'}
			},
			{type = 'row' , label = 'عائلات مرتبطة' , 
					value = {'عائلات أخرى','otherfamilies','other_families'}
			},
			{type = 'row' , label = 'فروق' , 
					value = {'فروق','distinctions'}
			},
			{type = 'row' , label = 'تقاليد' , 
					value = {'تقاليد','traditions'}
			},
			{type = 'row' , label = 'الدين' , 
					value = {'دين','religion'}
			},

			generic.motto(),

			{type = 'row' , label = 'الإرث' , 
				value = {'إرث','heirlooms'}
			},
			{type = 'row' , label = 'مقر الإقامة' , 
				value = {'مقر','estates','estate'}
			},
			{type = 'row' , label = 'الانحلال' , 
				value = {'انحلال','dissolution'}, wikidata={property='P576'}
			},
			{type = 'row' , label = 'العزل' , 
				value = {'عزل','deposition'}
			},
			{type = 'row' , label = 'مصور' , 
				value = {'مصور','depicted'},
				wikidata= {	property = 'P1299', conjunction = "<br />"}
			
			},
			{type = 'row' , label = 'ملاك لـ' , 
				value = {'ملاك','owner of'},
				wikidata= {	property = 'P1830', conjunction = "<br />"}
			
			},
			{type = 'row' , label = 'فروع أصغر' , 
					value = {'فروع أصغر','cadet branches','cadet_branches'}
			},
			generic.awards(),
			generic.website(),
		}},
		{type = 'table' , title ='ملاحظات وهوامش', rows = {
                {type = 'row1col' ,
                        value = {'ملاحظات','footnotes','notes'}
                },
		}}
	}  -- for parts
} -- for return