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

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

local generic = require( 'وحدة:بطاقة/أدوات' )
local org = require( 'وحدة:بطاقة/أدوات/منظمة' )

return {
 maincolor = '#F0B020',
 wikimod = 'Wikidata.Ca',

 parts = {
        generic.title({icon='internet'}),
        generic.native_name(),
        generic.logo(),
		generic.mainimage{
			imageparameters =  {'لقطة شاشة','screenshot','لقطة'}, 
			captionparameter ={'caption','تعليق'}, 
			defaultcaption='لقطة شاشة',
		},

        {type = 'table', title = 'معلومات عامة', rows = {

            generic.website(),
            generic.motto(),

            {type = 'mixed', label = 'تجاري؟',
            	value = {'تجاري','commercial'}},
            {type = 'mixed', label = 'نوع الموقع',
            	value = {'نوع','type','نوع الموقع'},
            	wikidata = { property = 'P31'}},
            {type = 'mixed', label = 'أنشأه',
            	value = {'مؤلف','المؤلف','author','creator'},
            	metadata = { description =""}
            },

            generic.country{label = 'البلد الأصلي',
            	value = {'بلد','country of origin'}},

            {type = 'mixed', label = 'تاريخ الإطلاق', 
            	value = {'تاريخ الإطلاق','launched'},
            	metadata = { description =""}
            },	

            org.dates(),

            {type = 'mixed', label =  'الوضع الحالي',
            	value = {'وضع حالي','الحالة الحالية','current status','current_status'},
            	metadata = { description =""}
            },

            generic.awards(),

            {type = 'succession', inner=1,
            	previousparameter = {"سبقه","سابقا","predecessor"}, 
            	previousproperty = "P155",
            	nextparameter = {"تبعه","لاحقا","successor"},	
            	nextproperty = "P156"}
		}},
		{type = 'table', title = 'الجوانب التقنية', rows = {
            {type = 'mixed', label = '[[لغة|اللغة]]',
            	value = {'لغة','language'},
            	wikidata = {property = 'P407'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = 'ترخيص المحتوى',
            	value = {'ترخيص المحتوى'},
            	wikidata = {property = 'P275'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = 'لغة البرمجة',
            	value = {'لغة البرمجة','programming language','programming_language'},
            	wikidata = {property = 'P277'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = '[[منصة (حوسبة)|المنصة]]',
            	value = {'منصة','platform'},
            	wikidata = {property = 'P400'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = 'دعم [[آي بي في6]]',
            	value = {'آي بي في6','ipv6'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = 'التسجيل',
            	value = {'تسجيل','registration'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = 'عدد المستخدمين',
            	value = {'عدد المستخدمين','users'},
            	wikidata={property = 'P1833', conjtype = '*'},
            	metadata = { description =""}
            },
		}},
		{type = 'table', title = 'المنظومة الاقتصادية', rows = {

            org.headquarters(),

			org.parent_organization(),
			{type = 'mixed', label = 'الفرع',
				plurallabel = 'الفروع',
				value = 'الفروع',
				wikidta = {property = 'P199'},
            	metadata = { description =""}
            },

			org.subsidiary(),

			{type = 'mixed', label = 'النشاط',
				plurallabel = 'النشاطات',
				value ={'النشاط','نشاط'},
            	metadata = { description =""}
            },
            {type = 'mixed', label = '[[خدمة|الخدمات]]',
            	value ={'الخدمات','خدمات','services'},
            	metadata = { description =""}
            },
			{type = 'mixed', label = 'الصناعة',
				plurallabel = 'الصناعات',
				value ={'الصناعة','صناعة','industry'},
				property = 'P452',
            	metadata = { description =""}
            },
            {type = 'mixed', label = '[[منتج (اقتصاد)|المنتجات]]',
            	value = {'المنتجات','منتجات','products'},
            	property = 'P1056',
            	metadata = { description =""}
            },
			{type = 'mixed', label = 'مناطق الخدمة',
				value = {'مناطق_الخدمة','area_served','area served'},
            	metadata = { description =""}
            },
			{type = 'mixed', label = '[[إعلان على الإنترنت|الإعلانات]]', 
				value={'الإعلانات','advertising'},
            	metadata = { description =""}
            },
		}},
		{type = 'table', title = 'أهم الشخصيات', rows = {
			org.key_people(),
		}},
		{type = 'table', title = 'الايرادات والعائدات', rows = {
			org.ecosys(),
			{type = 'mixed', label = 'Notation',
				value = 'notation',
            	metadata = { description =""}
            },
			{type = 'mixed', label = 'رأس المال',
				value = 'رأس المال',
            	metadata = { description =""}
            },
			{type = 'mixed', label ='[[أصول|الأصول]]',
				value = {'الأصول','assets'},
            	metadata = { description =""}
            },
		}},
	}
}