الفرق بين المراجعتين لصفحة: «وحدة:بطاقة/قالب/موقع ويب»

من ويكي عرب
اذهب إلى التنقل اذهب إلى البحث
لا ملخص تعديل
 
ط (مراجعة واحدة)
 
(لا فرق)

المراجعة الحالية بتاريخ ٢٠:٠٢، ١٨ ديسمبر ٢٠٢١

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

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

return {
 maincolor = '#F0B020',
 parts = {
        general.title({icon='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 = '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 = {'بلد','country of origin'}},
            {type = 'mixed', label = 'التأسيس'
            	, value ={'تاريخ_التأسيس','founded','تأسيس'}
            	, property = 'P571'},
            {type = 'mixed', label = 'تاريخ الإطلاق', 
            	value = {'تاريخ الإطلاق','launched'}},		
            {type = 'mixed', 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 = 'mixed', 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 = 'mixed', label = 'الشركة الأم'
				, value ={ 'الشركة الأم','الشركة_الأم','parent'}
				, wikidata = {property = 'P749', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = 'الفرع'
				, plurallabel = 'الفروع'
				, value = 'الفروع'
				, property = 'P199'},
			{type = 'mixed', label = '[[شركة تابعة|الشركات التابعة]]'
				, value = {'الشركات_التابعة','divisions'}
				, wikidata = {property = 'P355', conjtype = '*'}},
			{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 = {

			{type = 'mixed', label = 'المالك', plurallabel = 'الملاك'
				, value = {'المالك','owners','owner'}
				, wikidata = {property = 'P127', showdate = true, sorttype = 'chronological', conjtype = '*'}},
			{type = 'mixed', label = 'المؤسس'
				, plurallabel = 'المؤسسون'
				, value = {'المؤسس','مؤسس','founder'}
				, property = 'P112'},
			{type = 'mixed', label = 'المدير التنفيذي'
				, plurallabel = 'المدراء التنفيذيون'
				, value = {'المدير التنفيذي','المدير_التنفيذي'}
				, wikidata = {property = 'P169', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = 'الرئيس'
				, plurallabel = 'الرؤساء'
				, value = 'رئيس'
				, wikidata = {property = 'P488', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = 'المدير'
				, plurallabel = 'المدراء'
				, value = 'مدير'
				, wikidata = {property = 'P1037', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = 'الموظفون'
				, value = {'عدد_الموظفين','عدد الموظفين','employees'}
				, wikidata = {property = 'P1128', showdate = true, sorttype = 'chronological'}},
		}},
		{type = 'table', title = 'الايرادات والعائدات', rows = {
			{type = 'mixed', label = '[[إيراد|العائدات]]'
				, value = {'العائدات','إيرادات','دخل','revenue'}
				, wikidata = {property = 'P2139', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = '[[صافي الدخل|الربح الصافي]]'
				, value = {'الربح الصافي','صافي_الأرباح','net income','net_income'}
				, wikidata = {property = 'P2295', showdate = true, sorttype = 'chronological'}},
			{type = 'mixed', label = 'رسملة السوق'
				, value = 'رسملة'
				, wikidata = {property = 'P2226', showdate = true, sorttype = 'chronological'}},
            {type = 'mixed', label = 'البورصة'
            	, value = {'الرمز_في_البورصة'}
            	, wikidata = {property = 'P414', showqualifiers = 'P249', conjtype = '<br />'}},
			{type = 'mixed', label = 'Notation'
				, value = 'notation'},
			{type = 'mixed', label = 'رأس المال'
				, value = 'رأس المال'},
			{type = 'mixed', label ='الدخل التشغيلي'
				, value = {'الدخل_التشغيلي'}},
			{type = 'mixed', label ='[[ربح]]'
				, value = {'الأرباح'}},
			{type = 'mixed', label ='[[أصول|الأصول]]'
				, value = {'الأصول','assets'}},
			{type = 'mixed', label ='[[دين (اقتصاد)|الدَيْن]]'
				, value = {'دين'}},
		}},
	}
}