وحدة:بطاقة/قالب/جهاز معلوماتي
هذه الصفحة شرح لوحدة من وحدات البطاقات المبنية اعتمادا على وحدة:بطاقة. وتستعمل في {{بطاقة هاتف محمول}} و {{بطاقة جهاز معلوماتي}}
-- Credits:
-- وهراني @arwiki (ar:وحدة:بطاقة/قالب/جهاز معلوماتي)
-- Version: 20240509
local generic = require( 'وحدة:بطاقة/أدوات' )
return
{
maincolor = "D5D9ED",
wikimod = 'Wikidata.Ca',
parts =
{
generic.title( {icon="communication"}),
{type = 'subtitle', value = {'codename'} , wikidata= {property = 'P1638'}},
generic.logo(),
generic.mainimage(),
{type = "table", title = "معلومات عامة", rows = {
{type = "row", label = "الماركة",
value = {'ماركة','الماركة','brand'},
wikidata= {property = 'P1716'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "النوع",
value = {'نوع','الصنف','النوع','type'},
wikidata = {property = 'P279'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الصانع",
value = {'صانع','الصانع','manufacturer'},
wikidata = {property = 'P176'},
metadata = {
description = "",
option = "",
type = "string",
}
},
generic.motto{value = {'شعار نصي','الشعار النصي','slogan'}},
{type = "row", label = "المصمم",
value = {'مصمم','المصمم','designer'},
wikidata = {property = 'P287'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "المطور",
value = {'المطور'},
wikidata = {property = 'P178'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "عائلة المنتج",
value = {'عائلة','العائلة','عائلة المنتج'},
wikidata = {property = 'P179'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الجيل",
value = {'جيل','الجيل','generation'},
wikidata = {property = 'P361'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "اللون", plurallabel="الألوان",
value = {'لون','color'},
wikidata = {property = 'P462'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "التوفر في السوق",
value = {'التوفر في السوق','available','retail availability'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الانتاج",
value = {'انتاج','الانتاج','unitsshipped'},
wikidata = {property = 'P2197'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = 'row' , label = 'السعر المبدئي' ,
value = {'سعر','السعر المبدئي','price'},
wikidata = {property = 'P2284', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "المبيعات",
value = {'مبيعات','الأعداد المباعة','unitssold'} ,
wikidata = {property = 'P2664'},
metadata = {
description = "",
option = "",
type = "string",
}
},
generic.website(),
}},
{type = "table", title = "أهم التواريخ", rows = {
{type = "row", label = "تاريخ الإعلان",
value = {'تاريخ الإعلان','announcement'},
wikidata = {property = 'P6949'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "تاريخ الإصدار" ,
value = {'تاريخ الإصدار','released','موعد الإصدار','الصدور','تاريخ الصدور','release date'},
wikidata = {
property = 'P577 OR P571',
qualifier1='P291',
conjunction = "<br />", formatting='table',
rowformat="$0$R0 $1",
rowsubformat1 = "<small><br> في $1</small>"},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "توقف الإصدار",
value = {'توقف الإصدار','discontinued','التوقف'} ,
wikidata = {property = 'P2669'},
metadata = {
description = "",
option = "",
type = "string",
}
},
}},
{type = "table", title = "الوظائف", rows = {
{type = "row", label = "الشاشة",
value = {'شاشة','الشاشة','display'},
wikidata = {property = 'P5307',formatting='table',
qualifier1='P2061', qualifier2='P2048',
qualifier3='P2049', qualifier4='P2043',
qualifier5='P2054',
colformat1='unitlinked',colformat2='unitlinked',
colformat3='unitlinked',colformat4='unitlinked',
colformat5='unitlinked',
rowformat= "$0$R0 $1$2$3$4$5",
rowsubformat1 = "<small><br>:: نسبة الارتفاع : $1</small>",
rowsubformat2 = "<small><br>:: الارتفاع : $2</small>",
rowsubformat3 = "<small><br>:: العرض : $3</small>",
rowsubformat4 = "<small><br>:: الطول : $4</small>",
rowsubformat5 = "<small><br>:: الكثافة : $5</small>",
},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الشاشة الخارجية",
value = {'شاشة خارجية','ext_display'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "لوحة اللمس",
value = {'لوحة اللمس','touchpad'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الكاميرا",
value = {'كاميرا','rear_camera','الكاميرا','camera'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الكاميرا الأمامية",
value = {'الكاميرا الأمامية','front_camera'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "نوع النغمات",
value = {'نغمات'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "وسائط متعددة",
value = {'الوسائط','وسائط متعددة','media'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "تموضع جغرافي",
value = {'تموضع جغرافي'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الإدخال",
value = {'إدخال','الإدخال',
'المدخل','مدخل','input'},
wikidata = {property = 'P479', conjunction='<br />'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = 'row' , label = 'المستشعرات' ,
value = {'مستشعرات','sensors'} ,
wikidata = {property = 'P9192', conjunction='<br />'},
metadata = {
description = "",
option = "",
type = "string",
}
},
}},
{type = "table", title = "الخصائص", rows = {
{type = "row", label = "المنصة",
value = {'منصة','platform','المنصة'},
wikidata = {property = 'P400', conjunction='<br />'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = '[[وحدة معالجة مركزية|المعالج الرئيسي]]',
value = {'معالج','المعالج','المعالج الرئيسي','cpu'},
wikidata = {
property = 'P880', conjunction='<br />',
formatting='table', rowformat ="$0$R0$1",
qualifier1='P518', rowsubformat1="<small><br />($1)</small>"
},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "معالج رسومي",
value = {'معالج رسومي','معالج الرسومات','gpu'},
wikidata= {property = 'P2560', conjunction='<br />'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label ='[[ذاكرة الوصول العشوائي|الذاكرة]]',
value = {'الذاكرة','ذاكرة','memory'},
wikidata = {property = 'P2928', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "سعة التخزين",
value = {'التخزين','سعة التخزين'},
wikidata = {
property = 'P3559', conjunction='<br />',
formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "شريحة ذاكرة",
value = {'شريحة ذاكرة','memory_card'},
wikidata = {property = 'P4788', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{
type = "row",
label = "[[نظام التشغيل]]",
value = {"نظام_التشغيل", "operating system",'os'},
wikidata = {
property = "P306", qualifier1="P348",
formatting="table", rowformat="$0$R0$1", rowsubformat1=" ($1)",
listrank = "bestrank",
conjunction = "<br />"
},
metadata = {
description = "نظام التشغيل. لشبيه يونكس، استخدم: أي [[شبيه يونكس]] ",
option = "",
type = "",
}
},
{type = "row", label = "البطارية",
value = {'بطارية','الطاقة','battery','البطارية'},
wikidata= {
property = 'P618',formatting='table',
rowformat="$0$R0$1",
qualifier1 = 'P4140 OR /P4140', colformat1='unitlinked',
rowsubformat1 = "<small><br />( السعة : $1)</small>"
},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "سعة البطارية",
value = {'سعة البطارية'},
--wikidata={property = 'P4140', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الاستقلالية",
value = {'استقلالية','battery life'},
wikidata={property = 'P12221', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الاتصال",
value = {'الاتصال','وسائل الإتصالات','وسائل الاتصال'},
wikidata= {property = 'P2935', conjunction='<br />'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "اتصالات أخرى",
value = {'اتصالات','connectivity'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الشبكات",
value = {'شبكات','networks'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "الخدمة عبر الإنترنت",
value = {'خدمة الإنترنت','خدمات الإنترنت','service'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "معدل الامتصاص النوعي",
value = {'الامتصاص','absorption'},
wikidata = {property = 'P7080', formatting='unitlinked'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row", label = "البصمة الكربونية",
value = {'بصمة','footprint'},
wikidata={
property = 'P5991', colformat0='unitlinked',
formatting='table', rowformat='* $0$R0 $1',
qualifier1='P2928',
rowsubformat1='<small><br />$1</small>', colformat1='unitlinked'
},
metadata = {
description = "",
option = "",
type = "string",
}
},
}},
{type = "table", title = "القياسات", rows = {
generic.dimensions(),
{type = "row", label = "الوزن",
value = {'وزن','الوزن','weight'},
wikidata={
property = 'P2067', colformat0='unitlinked',
conjunction='<br />',
formatting='table', rowformat ="$1 $0$R0",
qualifier1='P518', rowsubformat1="$1 : ", colformat1 = 'label'},
metadata = {
description = "",
option = "",
type = "string",
}
},
}},
{type = "table", title = "الإصدارات", rows = {
{type = "row", label = "السلسلة",
value = {"سلسلة","السلسلة",'series'},
wikidata = { property = 'P179', conjunction='<br />' , showlang = true },
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = "row",
label = "[[توافقية مع إصدارات أقدم|التوافق مع إصدارات أقدم]]",
value = {'التوافق','compatibility'},
metadata = {
description = "",
option = "",
type = "string",
}
},
{type = 'navbox', inner=true,
previousparameter = {"سبقه","سابق","سابقه",'predecessor'},
previousproperty = "P155",
nextparameter = {"تبعه","لاحق","تاليه",'successor'},
nextproperty = "P156"
},
}},
}
}