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

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

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

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'}},

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

            {type = 'mixed', label = 'تاريخ الإطلاق', 
            	value = {'تاريخ الإطلاق','launched'}},		
            org.dates(),

            {type = 'mixed', label =  'الوضع الحالي',
            	value = {'وضع حالي','الحالة الحالية','current status','current_status'}},
            generic.awards(),
            {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', qualifier='P585', 
					  listrank='bestrank', formatting = 'table',
                      rowformat='* $0$R0$1', 
                      rowsubformat1="<small><br />($1)</small>"}}
		}},
		{type = 'table', title = 'المنظومة الاقتصادية', rows = {

            org.headquarters(),

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

			org.subsidiary(),

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