وحدة:ب.ص.م/بطاقة/موقع ويب

يمكن إنشاء صفحة توثيق الوحدة في وحدة:ب.ص.م/بطاقة/موقع ويب/شرح

local general = require( 'وحدة:ب.ص.م/أدوات' )
local localdata = require( 'وحدة:ب.ص.م/بيانات' )


return {
 maincolor = '#F0B020',
 parts = {
        general.title('internet'),
        {type = 'subtitle', value = {'اسم اصلي'}, 
            wikidata= {property = 'P1476',numval = 2, conjtype = 'new line', showlang = true}},	
		{type = 'images', imageparameters =  {'علامة_الشركة','شعار','الشعار','logo'}, property = 'P154', defaultupright = upright or '0.6', uprightparameter = 'upright logo',numval = 1},
		--general.mainimage(),
		{type = 'images', imageparameters =  {'لقطة شاشة','screenshot','لقطة'}, captionparameter ={'caption','تعليق'},defaultcaption='لقطة شاشة',wikidata = {property = 'P18'}, },
		{type = 'images', imageparameters =  {'ايقونه','icon','ايقونه'}, captionparameter ={'caption','تعليق'},defaultcaption='ايقونه',wikidata = {property = 'P2910'}, },
		{type = 'mixed', label = 'الاسم المختصر', value = {'الاسم المختصر'}, property = 'P1813'},
		{type = 'table', title = 'معلومات عامه', rows = {
            {type = 'mixed', label = '[[يو آر إل|عنوان الموقع]]', value = {'عنوان','url','website','homepage'}, property = 'P856'},
            --general.website(),

            {type = 'mixed', label = 'الشعار النصي', value = {'شعار نصي','motto'}, property = 'P1451'},
            {type = 'mixed', label = 'تجاري؟', value = {'تجاري','commercial'}},
            {type = 'mixed', label = 'نوع الموقع', value = {'نوع','type','نوع الموقع'}, property = 'P31'},
            {type = 'mixed', label = 'أنشأه', value = {'مؤلف','المؤلف','author','creator'}},
			{type = 'mixed', label = 'اصدره', value = {'اصدره'}, property = 'P2378'},
			{type = 'mixed', label = 'المشغل', value = {'المشغل'}, property = 'P137'},
			{type = 'mixed', label = 'تاريخ التأسيس', value = {'تاريخ التأسيس'}, property = 'P580'},
            {type = 'mixed', label = 'البلد الأصلي', value = {'بلد','country of origin'}},

			{type = 'row', label = 'التأسيس', value ={'تاريخ_التأسيس','founded','تأسيس'}, property = 'P571'},
            {type = 'mixed', label = 'تاريخ الإطلاق', value = {'تاريخ الإطلاق','launched'}},		
			{type = 'row', label = 'الاختفاء', value = {'تاريخ_الاختفاء','defunct','حل','توقف','dissolved'}, property = 'P576'},
            {type = 'mixed', label = 'الوضع الحالي', value = {'الحاله الحاليه','current status','current_status'}},

            {type = 'succession', inner=1, previousparameter = {"سبقه","سابقا","predecessor"}, previousproperty = "P155", nextparameter = {"تبعه","لاحقا","successor"},	nextproperty = "P156"}

		}},
		{type = 'table', title = 'الجوانب التقنية', rows = {
            {type = 'mixed', label = '[[لغه|اللغه]]', value = {'لغة','language'}, property = 'P407'},
            {type = 'mixed', label = 'ترخيص المحتوى', value = {'ترخيص المحتوى',''}, property = 'P275'},
            {type = 'mixed', label = 'لغة البرمجه', value = {'لغة البرمجة','programming language','programming_language'}, property = 'P277'},
            {type = 'mixed', label = 'منصه', value = {'منصة','platform'}, property = 'P400'},

            {type = 'mixed', label = 'دعم آى بى فى6', value = {'آي بي في6','ipv6'}},
            {type = 'mixed', label = 'التسجيل', value = {'تسجيل','registration'}},

            {type = 'mixed', label = 'عدد المستخدمين', value = {'عدد المستخدمين','users'}, wikidata={property = 'P1833', conjtype = '*'}},

            {type = 'mixed', label = 'ترتيب [[اليكسا انترنت|اليكسا]]', value = {'أليكسا','alexa'}, 
                wikidata= {property = 'P1661',rank='best', conjtype = '*', showdate=true}},
            {type = 'row', label ='الجوايز' , value = {'جوائز','الجوائز','awards','الأوسمة','أوسمة'}, wikidata= {property = 'P166', conjtype = '*'}},

		}},
		{type = 'table', title = 'المنظومه الاقتصاديه', rows = {
            {type = 'mixed', label = 'المقر الرئيسى', value = {'المقر الرئيسي','headquarters','headquarter','المقر_الرئيسي','مقر','hq_location'}, wikidata = {property = 'P159', showqualifiers = 'P17', conjtype = '<br />'}},

			{type = 'row', label = 'الشركه الام', value ={ 'الشركة الأم','الشركة_الأم','parent'}, wikidata = {property = 'P749', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'الفرع', plurallabel = 'الفروع', value = 'الفروع', property = 'P199'},
			{type = 'row', label = 'الشركات التابعه', value = {'الشركات_التابعة','divisions'}, wikidata = {property = 'P355', conjtype = '*'}},
			{type = 'row', label = 'النشاط', plurallabel = 'النشاطات', value ={'النشاط','نشاط'}},

            {type = 'row', label = 'الخدمات', value ={'الخدمات','خدمات','services'}},

			{type = 'row', label = 'الصناعه', plurallabel = 'الصناعات', value ={'الصناعة','صناعة','industry'}, property = 'P452'},
            {type = 'row', label = 'المنتجات', value = {'المنتجات','منتجات','products'}, property = 'P1056'},

			{type = 'row', label = 'مناطق الخدمه', value = {'مناطق_الخدمة','area_served','area served'}},
			{type = 'row', label = 'الاعلانات', value={'الإعلانات','advertising'}},

			{type = 'succession', inner=1, previousparameter = {"سبقه","سابقا","predecessor"}, previousproperty = "P155", nextparameter = {"تبعه","لاحقا","successor"},	nextproperty = "P156"}
		}},
		{type = 'table', title = 'أهم الشخصيات', rows = {

			{type = 'row', label = 'المالك', plurallabel = 'الملاك', value = {'المالك','owners','owner'}, wikidata = {property = 'P127', showdate = true, sorttype = 'chronological', conjtype = '*'}},
			{type = 'row', label = 'المؤسس', plurallabel = 'المؤسسون', value = {'المؤسس','مؤسس','founder'}, property = 'P112'},
			{type = 'row', label = 'المدير التنفيذى', plurallabel = 'المدراء التنفيذيون',value = {'المدير التنفيذي','المدير_التنفيذي'}, wikidata = {property = 'P169', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'الرئيس', plurallabel = 'الرؤساء', value = 'رئيس', wikidata = {property = 'P488', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'المدير', plurallabel = 'المدراء', value = 'مدير', wikidata = {property = 'P1037', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'الموظفين', value = {'عدد_الموظفين','عدد الموظفين','employees'}, wikidata = {property = 'P1128', showdate = true, sorttype = 'chronological'}},

		}},
		{type = 'table', title = 'الايرادات والعائدات', rows = {

			{type = 'row', label = 'العائدات', value = {'العائدات','إيرادات','دخل','revenue'}, wikidata = {property = 'P2139', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'الربح الصافى', value = {'الربح الصافي','صافي_الأرباح','net income','net_income'}, wikidata = {property = 'P2295', showdate = true, sorttype = 'chronological'}},
			{type = 'row', label = 'رسملة السوق', value = 'رسملة', wikidata = {property = 'P2226', showdate = true, sorttype = 'chronological'}},

            {type = 'mixed', label = 'البورصه', value = {'الرمز_في_البورصة',''}, wikidata = {property = 'P414', showqualifiers = 'P249', conjtype = '<br />'}},
			{type = 'row', label = 'Notation', value = 'notation'},

			{type = 'row', label = 'رأس المال', value = 'رأس المال'},
			{type = 'row', label ='الدخل التشغيلى', value = {'الدخل_التشغيلي'}},
			{type = 'row', label ='[[ربح]]', value = {'الأرباح'}},
			{type = 'row', label ='الاصول', value = {'الأصول','assets'}},
			{type = 'row', label ='الدين', value = {'دين'}},

		}},
		}
	}