وحدة:بطاقة/قالب/مجموعة عرقية

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث

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

return {
 maincolor = '#b0c4de',
 wikimod = 'Wikidata.Ca',
 parts = {
	general.title(),
	{type='subtitle',value={'الاسم الأصلي','native_name'}
                ,wikidata= {property = 'P1559 OR P1476 OR P1448 OR P1705', list = 'notlang', conjunction = "<br />"
                   ,listrank='bestrank' ,formatting = '$text {{Language icon|NoCat=y|$language}}'}},
	general.logo(),
	general.flag(),
	general.mainimage({wikidata={property='P18 OR P2716'}}),
	

	{type='table', title = 'معلومات عامة',rows = {
			{type = "row", label = 'نسبة التسمية'
				, value = {'تسمية'} , wikidata={property='P138'}
            },
			{type = "row", label = 'الظهور'
				, value = {'ظهور','بداية'} , wikidata={property='P571'}
            },
			{type = "row", label = 'الاختفاء'
				, value = {'اختفاء'} , wikidata={property='P576'}
            },
			{type = "row", label = 'الفترة الزمنية'
				, value = {'فترة'} , wikidata={property='P2348'}
            },
			{type = "row", label = 'الشتات'
				, value = {'شتات','diaspora'} , wikidata={property='P3833'}
            },
    }},
	{type='table', title = 'التعداد الكلي',rows = {
			{type = "row", label='التعداد' , 
				value = {'تعداد','total','population','pop'}
                     , wikidata={ property='P1082', listrank='bestrank', formatting='table'
                                , qualifier='P459', qualifier2='P585', colformat2='Y'
                                , qualifier3='P1480'
                                , rowformat='* $0$R0 $2$3$1' , rowsubformat1='<small><br />حسب : $1</small>'
                                , rowsubformat3='<small><br />($3)</small>'
                                , rowsubformat2='<small>($2)</small>'}},

			{type = "row", label = {'total1_year'}
				, value = {'total1'}
            },
			{type = "row", label = {'total2_year'}
				, value = {'total2'}
            },
			{type = "row", label = {'total3_year'}
				, value = {'total3'}
            },
    }},

	{type='table', title = 'مناطق الوجود المميزة',rows = {

			{type = 'row', label='بلد الأصل', 
				value={'بلد الأصل','country of origin'}, 
				wikidata={ property='P495', conjunction='<br />'}},
			{type = 'row', label='البلد', 
				value={'بلد','country'}, 
				wikidata={ property='P17', conjunction='<br />'}},

			{type = "row1col" , value = {'popplace'}},
			{type = "row1col" , value = {'مناطق','regions'}},

			{type = "row", label = {'منطقة1','region1'}
				, value = {'تعداد1','pop1'} },
			{type = "row", label = {'منطقة2','region2'}
				, value = {'تعداد2','pop2'} },
			{type = "row", label = {'منطقة3','region3'}
				, value = {'تعداد3','pop3'} },
			{type = "row", label = {'منطقة4','region4'}
				, value = {'تعداد4','pop4'} },
			{type = "row", label = {'منطقة5','region5'}
				, value = {'تعداد5','pop5'} },
			{type = "row", label = {'منطقة6','region6'}
				, value = {'تعداد6','pop6'} },
			{type = "row", label = {'منطقة7','region7'}
				, value = {'تعداد7','pop7'} },
			{type = "row", label = {'منطقة8','region8'}
				, value = {'تعداد8','pop8'} },
			{type = "row", label = {'منطقة9','region9'}
				, value = {'تعداد9','pop9'} },
			{type = "row", label = {'منطقة10','region10'}
				, value = {'تعداد10','pop10'} },
			{type = "row", label = {'منطقة11','region11'}
				, value = {'تعداد11','pop11'} },
			{type = "row", label = {'منطقة12','region12'}
				, value = {'تعداد12','pop12'} },
			{type = "row", label = {'منطقة13','region13'}
				, value = {'تعداد13','pop13'} },
			{type = "row", label = {'منطقة14','region14'}
				, value = {'تعداد14','pop14'} },
			{type = "row", label = {'منطقة15','region15'}
				, value = {'تعداد15','pop15'} },
			{type = "row", label = {'منطقة16','region16'}
				, value = {'تعداد16','pop16'} },
			{type = "row", label = {'منطقة17','region17'}
				, value = {'تعداد17','pop17'} },
			{type = "row", label = {'منطقة18','region18'}
				, value = {'تعداد18','pop18'} },
			{type = "row", label = {'منطقة19','region19'}
				, value = {'تعداد19','pop19'} },
			{type = "row", label = {'منطقة20','region20'}
				, value = {'تعداد20','pop20'} },
			{type = "row", label = {'منطقة21','region21'}
				, value = {'تعداد21','pop21'} },
			{type = "row", label = {'منطقة22','region22'}
				, value = {'تعداد22','pop22'} },
			{type = "row", label = {'منطقة23','region23'}
				, value = {'تعداد23','pop23'} },
			{type = "row", label = {'منطقة24','region24'}
				, value = {'تعداد24','pop24'} },
			{type = "row", label = {'منطقة25','region25'}
				, value = {'تعداد25','pop25'} },
			{type = "row", label = {'منطقة26','region26'}
				, value = {'تعداد26','pop26'} },
			{type = "row", label = {'منطقة27','region27'}
				, value = {'تعداد27','pop27'} },
			{type = "row", label = {'منطقة28','region28'}
				, value = {'تعداد28','pop28'} },
			{type = "row", label = {'منطقة29','region29'}
				, value = {'تعداد29','pop29'} },
			{type = "row", label = {'منطقة30','region30'}
				, value = {'تعداد30','pop30'} },
			{type = "row", label = {'منطقة31','region31'}
				, value = {'تعداد31','pop31'} },
			{type = "row", label = {'منطقة32','region32'}
				, value = {'تعداد32','pop32'} },
			{type = "row", label = {'منطقة33','region33'}
				, value = {'تعداد33','pop33'} },
			{type = "row", label = {'منطقة34','region34'}
				, value = {'تعداد34','pop34'} },
			{type = "row", label = {'منطقة35','region35'}
				, value = {'تعداد35','pop35'} },
			{type = "row", label = {'منطقة36','region36'}
				, value = {'تعداد36','pop36'} },
			{type = "row", label = {'منطقة37','region37'}
				, value = {'تعداد37','pop37'} },
			{type = "row", label = {'منطقة38','region38'}
				, value = {'تعداد38','pop38'} },
			{type = "row", label = {'منطقة39','region39'}
				, value = {'تعداد39','pop39'} },
			{type = "row", label = {'منطقة40','region40'}
				, value = {'تعداد40','pop40'} },
			{type = "row", label = {'منطقة41','region41'}
				, value = {'تعداد41','pop41'} },
			{type = "row", label = {'منطقة42','region42'}
				, value = {'تعداد42','pop42'} },
			{type = "row", label = {'منطقة43','region43'}
				, value = {'تعداد43','pop43'} },
			{type = "row", label = {'منطقة44','region44'}
				, value = {'تعداد44','pop44'} },
			{type = "row", label = {'منطقة45','region45'}
				, value = {'تعداد45','pop45'} },
			{type = "row", label = {'منطقة46','region46'}
				, value = {'تعداد46','pop46'} },
			{type = "row", label = {'منطقة47','region47'}
				, value = {'تعداد47','pop47'} },
			{type = "row", label = {'منطقة48','region48'}
				, value = {'تعداد48','pop48'} },
			{type = "row", label = {'منطقة49','region49'}
				, value = {'تعداد49','pop49'} },
			{type = "row", label = {'منطقة50','region50'}
				, value = {'تعداد50','pop50'} },
	}},

    general.locationmap(),

	{type='table', title = 'اللغات', rows = {
			{type = "row1col", 
				value = {'لغات','اللغات','langs','languages'},
				wikidata = {property = 'P407' }
			},
			{type = 'row', label='اللغة الأم', 
				value={'اللغة الأم'}, 
				wikidata={ property='P103'}},
			{type = 'row', label='اللغة المستعملة', 
				value={'اللغة المستعملة'}, 
				wikidata={ property='P2936 OR P1412'}},
	}},
	{type='table', title = 'الدين', rows = {
			{type = "row1col" , 
				value = {'ديانات','الديانات','rels','religions'}, 
				wikidata={ property='P140'}}
	}},

	{type='table', title = 'المجموعات العرقية المرتبطة', rows = {
			{type = "row", label='فرع من', 
				value = {'فرع من','subgroups of'}, 
               wikidata={ property='P279 OR P361', qualifier='P642', formatting='table',rowformat='$0$R0 $1', conjunction='<br />'}},
			{type = "row", label='الفروع', 
				value = {'فروع','subgroups'}, wikidata={ property='P527', conjunction='<br />'}},
			{type = "row", label='مجموعات ذات علاقة', 
				value = {'تقارب','related_groups','related'}},
	}},

	{type='table', title = 'هوامش', rows = {
			{type = "row1col", value={'هوامش','footnotes'} }
	}},

}}