وحدة:بطاقة/قالب/فترة تاريخية

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

return 
	{
	maincolor = "#ABD2D0",
	wikimod = 'Wikidata.Ca',
	parts = {
		general.title(),
		general.logo(),
		general.mainimage({wikidata={property='P18 OR P2716'}}),
		{type = "table", title = "معلومات عامة", rows = {
			
			{type = "row", label = "نسبة التسمية"
				, value = {'تسمية','named_after'}
				, wikidata = {property = 'P138' }
			},
			{type = "row", label = "الفترة الزمنية"
				, value = {'فترة','era'}
	            , wikidata = {property = 'P2348' , listrank='bestrank'}
			},
			{type = "row", label = "البداية"
				, value = {'بداية','start'}
	            , wikidata = {property = 'P580 OR P571 OR P575' , listrank='bestrank'}
			},
			{type = "row", label = "النهاية"
				, value = {'نهاية','end'}
	            , wikidata = {
	            	property = 'P582 OR P576', conjunction='<br />' , 
	            	listrank='bestrank', qualifier='P1534 OR P828', 
	            	formatting='table', rowformat='$0$R0 $1', 
	            	rowsubformat1='<small><br />السبب: $1</small>' 
	            }
			},
			{type = "row", label = "المنطقة"
				, value = {'منطقة','location'}
				, wikidata = {property = 'P276 OR P17' }
			},
			{type = "row", label = "مجال البحث"
				, value = {'مجال','domain'}
				, wikidata = {property = 'P2579' , conjunction='<br />'}
			},
			{type = "row", label = "وصفها المصدر"
				, value = {'مصدر','source'}
				, wikidata = {
					property = 'P1343', 
					qualifier='P304', 
					formatting='table', 
					rowformat='* $0$R0 $1', 
					rowsubformat1='<small><br />ص. $1</small>' 
				}
			},
			{type = "row", label = "أهم الأحداث"
				, value = {'أهم الأحداث','key_events',
					"أحداث", "تواريخ_مهمة", "significant_event", "events"},
		        wikidata = {
		            wikimod = "Wikidata.Ca",
		            formatting = "table",
		            property = "P793",
		            qualifier1 = "P642",
		            qualifier2 = "P585",
		            qualifier3 = "P580",
		            qualifier4 = "P582",
		            rowsubformat1 = "$1",
		            rowsubformat2 = "$2 :",
		            rowsubformat3 = "<small><br />($3$4)</small>",
		            rowsubformat4 = "&nbsp; - $4",
		            rowformat = "* $2 $0 $1 $3 $R0",
		
		            conjunction = "<br />",
		        }, 
		        metadata = {
					description = "أهم الأحداث التي شهدها",
					option = "", 
					type = "", 
					example = "الحرب الفلانية (1 - 2)"
		        }
        },
			{type = "row", label = "الخطوط العريضة"
				, value = {'خطوط','outline'}
				, wikidata = {property = 'P5125', conjunction='<br />' }
			},
	}},
	{type = "table", title = "المعالم والشخصيات", rows = {
			{type = "row", label = "الملوك"
				, value = {'ملك','ملوك','monarch' }
			},
			{type = "row", label = "القادة"
				, value = {'قائد','قادة','leaders','presidents','primeministers' }
			},
			{type = "row", label = "شخصيات مؤثرة",
				value = {'شخصية_مؤثرة','شخصيات_مؤثرة','significant_person' },
				wikidata = {property = 'P3342', conjunction='<br />'  }, 
		        metadata = {
					description = "شخصيات تركت أثرا بارزا في هذه الفترة",
					option = "", 
					type = "", 
					example = "فلان تولى الحكم (ما بين 1 - 2)"
		        }
			},
			{type = "row", label = "العواصم"
				, value = {'عاصمة','عواصم','capital' }
			},
			{type = "row", label = "اللغات"
				, value = {'لغات','لغة','common_languages' }
				, wikidata = {property = 'P37' }
			},
	}},
	{type = "table", title = "التأثيرات", rows = {
			{type = "row", label = "أحد جوانب"
				, value = {'أحد_جوانب','facet_of'}
				, wikidata = {property = 'P1269' }
			},
			{type = "row", label = "فرع من"
				, value = {'فرع_من','part_of'}
				, wikidata = {property = 'P361 OR P279' , conjunction='<br />'}
			},
			{type = "row", label = "تفرع عنها"
				, value = {'فروع','including'}
				, wikidata = {property = 'P527' , conjunction='<br />'}
			},
			{type = "row", label = "تأثرت بـ"
				, value = {"تأثرات",'influences'}
	            , wikidata = {property = 'P737' }
			},
			{type = "row", label = "أثرت على"
				, value = {"تأثيرات",'influenced'}
	            , wikidata = {property = 'P828' }
			},
	}},
	{type = 'navbox'
			,previousparameter = {"سبقها","سابقا","predecessor",'before'}, previousproperty = "P155"
			,nextparameter = {"يليها","لاحقا","successor",'after'},	nextproperty = "P156"
		}
}}