وحدة:بطاقة/قالب/فيلم: الفرق بين النسختين

[نسخة منشورة][نسخة منشورة]
تم حذف المحتوى تمت إضافة المحتوى
طلا ملخص تعديل
طلا ملخص تعديل
(2 مراجعات متوسطة بواسطة نفس المستخدم غير معروضة)
سطر 1:
-- Credits:
local general = require( 'وحدة:بطاقة/أدوات' )
-- Original from fr:Module:Infobox/Film
-- forked by وهراني @arwiki
-- Version: 20240316
 
local generic = require( 'وحدة:بطاقة/أدوات' )
local FormatNumVal= general.FormatNumVal
 
local FormatNumVal= generic.FormatNumVal
 
return
{
description = "بطاقة تعريفية للأفلام السينمائية والتلفزيونية وما شابهها",
maincolor = "#ABD2D0",
wikimod = 'Wikidata.Ca',
parts = {
generic.title({icon= "cinema"}),
{
{type = 'subtitle',
general.title({icon= "cinema"}),
value = {'اسم أصلي','عنوان أصلي','العنوان الأصلي','title_orig','film_name' },
{type = 'subtitle',
wikidata= {property = 'P1476',
value = {'اسم اصلي','عنوان أصلي','العنوان الأصلي','title_orig','film_name' },
wikidata= {property = 'P1476',list="notlang",conjunction listrank= "<br />"'bestrank',
conjunction = "<br />",
, listrank='bestrank',formatting = '$text {{Language icon|NoCat=y|$language}}'}},
formatting = '$text {{Language icon|NoCat=y|$language}}'},
general.logo({upright= 0.6}),
metadata = {
general.mainimage{ wikidata = {property = {"P3383", "P2716", "P18", "P10"}} },
description = "العنوان الأصلي للفيلم (يفضل إضافة اللغة كذلك)",
option = "",
type = "string",
example = "Underworld 2 : Evolution {{لغة وصلة|en}}",
}
},
generic.logo({upright= 0.6}),
generic.mainimage{ wikidata = {property = {"P3383", "P2716", "P18", "P10"}} },
 
{type = "table", title = "معلومات عامة", rows = {
{type = "row", label = "التصنيف",
, value = "تصنيف" ,
, wikidata = {
property = 'P31' ,
formatting='table', rowformat="$0",
,blacklist0= "Q11424/Q24869" -- استثناء فيلم وفيلم طويل
},
metadata = {
description = "تصنيف الفيلم تقنيا : ثلاثي الأبعاد / أنمي / أبيض وأسود ...",
option = "",
type = "string",
}
},
{type = "row", label = "الصنف الفني",
, value = {'الصنفنوع','النوعالصنف','نوعالنوع'},
,wikidata = { property = 'P136'},
metadata = {
{type = "row", label = "الموضوع",
description = "الصنف الفني: غنائي / درامي / وثائقي ..",
value = "موضوع"
option = "",
, plurallabel = 'المواضيع'
, property type = 'P921'}"string",
example = "دراما تاريخية"
{type = "row", label = "تاريخ الانتاج"
}},
, value = {'تاريخ الانتاج','released'}
{type = "row", label = "الموضوع", plurallabel = 'المواضيع',
, wikidata = {property = 'P571' }},
value = "موضوع" ,
{type = "row", label = "تاريخ الصدور"
wikidata = { property = 'P921'},
, value = {'تاريخ الصدور','الإصدار'}
metadata = {
, wikidata = {property = 'P577' , tablesort='0' , listrank='bestrank'
description = "المواضيع التي يتناولها الفيلم",
, qualifier='P291', qualifier2='P276'
option = "",
, formatting = 'table', rowformat='* $0$R0 $1$2'
type = "string",
, rowsubformat1='<br/><small>($1)</small>'
example = "صراع الأجيال"
, rowsubformat2='<br/><small>($2)</small>'
}},
{type = "row", label = "تاريخ الإنتاج",
value = {'تاريخ الإنتاج','released'},
wikidata = { property = 'P571' },
metadata = {
description = "سنة إنتاج الفيلم",
option = "",
type = "string",
example = "2012",
}},
{type = "row", label = "تاريخ الصدور",
value = {'تاريخ الصدور','الإصدار'},
wikidata = {
property = 'P577' ,
qualifier='P291', qualifier2='P276',
tablesort='0' , listrank='bestrank',
formatting = 'table', rowformat='* $0$R0 $1$2',
rowsubformat1='<br/><small>($1)</small>',
rowsubformat2='<br/><small>($2)</small>'
},
metadata = {
description = "تاريخ صدور فيلم",
option = "",
type = "string",
example = "{{تاريخ صدور فيلم|1959|07}}",
}
},
{type = "row", label = "مدة العرض",
, value = {'مدة الفيلم','مدة العرض','runtime'},
, wikidata = {property = 'P2047' , colformat0 = 'unit'
, formattingproperty = 'tableP2047' , rowformat='* $0$R0 $1$2$3'
,formatting qualifier2= 'P1480table', rowsubformat2='<br/><small>($2)</small>'
rowformat='* $0$R0 $1$2$3', colformat0 = 'unit',
, qualifier3='P518', rowsubformat3='<br/><small>($3)</small>'
, qualifierqualifier2='P291P1480', rowsubformat1rowsubformat2='<br/><small>($12)</small>',
qualifier3='P518', rowsubformat3='<br/><small>($3)</small>',
qualifier='P291', rowsubformat1='<br/><small>($1)</small>',
},
metadata = {
description = "مدة عرض الفيلم",
option = "",
type = "string",
example = "{{وحدة|100|دقيقة}}",
}
},
{type = "row", label = "اللغة الأصلية",
, value = {'لغة الفيلم','اللغة','language'},
,wikidata = {property = 'P364'},
metadata = {
{type = "row", label = "العرض"
description = "اللغة الأصلية للفيلم",
, value = "عرض"
option = "",
, wikidata = {property = 'P462', formatting='table', rowformat="$0"
,blacklist0 type = "Q22006653string"}},
{type example = "row", label = "مأخوذ عن"
}},
, value ={ "العمل الأصلي" ,'based_on'}
{type = "row", propertylabel = 'P144'}"العرض",
value = "عرض" ,
{type = "row", label = "مستوحاة من"
wikidata = {
, value ={ "مستوحاة من" ,'inspired by'}
property = 'P462', formatting='table', rowformat="$0",
, property = 'P941'},
blacklist0 = "Q22006653" -- عدا الملون
{type = "row", label = "البلد"
},
, value = {'البلد','بلد الأصل','الدولة','country'}
, wikidatametadata = { property = 'P495', conjtype = '<br>' } },
description = "استعمال الألوان (ملون أو أبيض وأسود)",
{type = "row", label = "موقع التصوير"
, value option = "مواقع", التصوير"
type = "string",
, plurallabel = 'مواقع التصوير'
, property example = 'P915'}"",
}
{type = "row", label = "صيغة الفيلم"
},
, value = "صيغة الفيلم"
{type = "row", label = "مأخوذ عن",
, property = 'P3803'}, --تجربة
value ={ "عمل أصلي" , "العمل الأصلي" ,'based_on'},
general.awards(),
wikidata = {property = 'P144'},
general.website(),
metadata = {
description = "العمل الذي أخذت منه قصة الفيلم",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "مستوحاة من",
value ={ "مستوحاة من" ,'inspired by'},
wikidata ={property = 'P941'},
metadata = {
description = "العمل الذي استوحيت منه قصة الفيلم",
option = "",
type = "string",
example = "",
}},
generic.country({value = {'البلد','بلد الأصل','الدولة','country'}}),
{type = "row", label = "موقع التصوير",
value = "مواقع التصوير",
plurallabel = 'مواقع التصوير',
wikidata = { property = 'P915'},
metadata = {
description = "أماكن تصوير الفيلم",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "صيغة الفيلم",
value = "صيغة الفيلم",
wikidata = { property = 'P3803'}, --تجربة
metadata = {
description = "",
option = "",
type = "string",
example = "فيلم 16 ملم",
}},
generic.awards(),
generic.website(),
}},
{type = "table", title = "الطاقم", rows = {
{type = "row", label = "المخرج",
, value = {'مخرج',"إخراج",'director'},
,wikidata = { property = 'P57'},
metadata = {
{type = "row", label = "المخرج المساعد"
description = "قائمة مخرجي الفيلم",
, value = {'مخرج مساعد',"المخرج المساعد",'assistant_director'}
, property option = 'P5126'}"",
{ type = "rowstring", label = "المخرج الفني"
example = "[[مصطفى العقاد]]",
, value = {'مخرج فني',"إخراج فني",'art_director'}
, property = 'P3174'}},
{type = "row", label = "الكاتبالمخرج المساعد",
, value = {'مخرج مساعد',"كاتبالمخرج المساعد",'writerassistant_director'}},
{type wikidata = "row",{ labelproperty = "القصة"'P5126'},
metadata = {
, value = {"قصة",'story'}},
description = "قائمة المخرجون المساعدون في الفيلم",
{type = "row", label = "الحوار"
, value option = "حوار"},
type = "string",
{type = "row", label = "السيناريو والحوار"
, value example = "سيناريو وحوار"},
}},
{type = "row", label = "السيناريو"
{type = "row", label = "المخرج الفني",
, value = {"سيناريو",'screenplay'}
value = {'مخرج فني',"إخراج فني",'art_director'},
, property = 'P58'},
wikidata = { property = 'P3174'},
{type = "row", label = "القصة المصورة "
metadata = {
, value = "قصة مصورة"
description = "قائمة المخرجون الفنيون في الفيلم",
, property = 'P3275'},
{type option = "row", label = "الراوي"
type = "string",
, value = {"راوي","الراوي",'narrator'}
, property example = 'P2438'}"",
}},
{type = "row", label = "البطولة"
{type = "row", label = "الكاتب", value ={ {"بطولةكاتب",'starringwriter'},
metadata = {
, wikidata = {property = 'P161' , formatting='table' , rowformat = '* $0$R0 $1'
description = "",
,qualifier = 'P453'
option = "",
,rowsubformat1='<small><br>في دور: $1</small>'}},
{ type = "rowstring", label = "الأصوات"
, value example ={ "أصوات",'voice actor'}
}},
, wikidata = {property = 'P725' , formatting='table' , rowformat = '* $0$R0 $1'
{type = "row", label = "القصة", value = {"قصة",'story'},
,qualifier2 = 'P407' , blacklist2 = 'Q150/Q188' --استثناء الفرنسية والألمانية و ..
metadata = {
,qualifier = 'P453'
description = "قائمة كتاب قصة الفيلم",
,rowsubformat1='<small><br>في دور: $1</small>'
option = "",
type = "string",
example = "",
}},
{type = "row", label = "الحوار",
value = "حوار",
blockers = {"سيناريو وحوار"},
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "السيناريو والحوار", value = "سيناريو وحوار",
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "السيناريو",
value = {"سيناريو",'screenplay'}, blockers = {"سيناريو وحوار"},
wikidata = { property = 'P58'},
metadata = {
description = "",
option = "",
type = "string",
example = "[[توفيق الحكيم]]",
}},
{type = "row", label = "القصة المصورة ",
value = "قصة مصورة",
wikidata = { property = 'P3275'},
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "الراوي",
value = {"راوي","الراوي",'narrator'},
wikidata = { property = 'P2438'},
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "البطولة",
value ={ "بطولة",'starring'},
wikidata = {
property = 'P161' ,
qualifier = 'P453',
formatting='table' , rowformat = '* $0$R0 $1',
rowsubformat1='<small><br>في دور: $1</small>'},
metadata = {
description = "قائمة الممثلين البارزين",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "الأصوات",
value ={ "أصوات",'voice actor'},
wikidata = {
property = 'P725',
formatting='table' , rowformat = '* $0$R0 $1',
qualifier2 = 'P407', blacklist2 = 'Q150/Q188', --استثناء الفرنسية والألمانية و ..
qualifier = 'P453', rowsubformat1='<small><br>في دور: $1</small>'
},
metadata = {
description = "قائمة الأصوات البارزين (الأولية للغة العربية )",
option = "",
type = "string",
example = "",
}
},
{type = "row", label = "الديكور",
, value = {'ديكور','مصمم الإنتاج','production designer',"ديكور"},
,wikidata = { property = 'P2554'},
metadata = {
{type = "row", label = "تصميم الأزياء"
description = "",
, value = {'أزياء','ملابس'}
, property option = 'P2515'}"",
{ type = "rowstring", label = "التصوير"
example = "",
, value = {'سينماتوغرافيا','الإخراج السينمائي','سينماتوغرافيا','تصوير','cinematography'}
, property = 'P344'}},
{type = "row", label = "الموسيقىتصميم الأزياء",
, value = {'موسيقيأزياء','موسيقىملابس'},'music'}
,wikidata = { property = 'P86P2515'},
metadata = {
{type = "row", label = "التركيب"
description = "أسماء مصممي أزياء الفيلم",
, value = {'مونتاج','تركيب','editing'}
, property option = 'P1040'}"",
type = "string",
}
example = "",
},
}},
{type = "row", label = "التصوير",
value = {'سينماتوغرافيا','الإخراج السينمائي','سينماتوغرافيا','تصوير','cinematography'},
wikidata = { property = 'P344'},
metadata = {
description = "المشرفون على التصوير",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "الموسيقى",
value = {'موسيقى','music'},
wikidata = { property = 'P86'},
metadata = {
description = "المشرفون على الموسيقى",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "التركيب",
value = {'تركيب','مونتاج','editing'},
wikidata = { property = 'P1040'},
metadata = {
description = "المشرفون على عملية تركيب الفيلم",
option = "",
type = "string",
example = "",
}}
}},
{type = "table", title = "صناعة سينمائية", rows = {
{type = "row", label = "الشركة المنتجة",
, plurallabel = "الشركات المنتجة",
, value = {"استوديو",'studio','production_companies'},
, wikidata = {property = 'P272' , conjtypeconjunction = '<br />'}},
metadata = {
{type = "row", label = "المنتج"
description = "الشركات المنتجة",
, plurallabel = "المنتجون"
option = "",
, value ={'الإنتاج','منتج','producer'}, property = "P162"},
type = "string",
{type = "row", label = "المنتج المنفذ", value = "منتج منفذ"
example = "[[يونيفرسال بيكشرز]]",
, wikidata={property = 'P1431', formatting = 'table',rowformat = '$0$R0 $1'
}},
,qualifier = 'P3831', rowsubformat1 = '<small>($1)</small>', conjunction ='<br/>'}},
{type = "row", label = "التوزيعالمنتج",
plurallabel = "المنتجون",
, value = {'موزع','توزيع','distributor'}
value ={'منتج','الإنتاج','producer'},
, property = 'P750'},
{type wikidata = "row",{ labelproperty = "نسق التوزيعP162"},
metadata = {
, value = {'نسق','نسق التوزيع','distribution format'}
, property description = 'P437'}"",
option = "",
{type = "row", label = "شبكة البث الأصلية"
, value type = "شبكة البثstring",
, property example = 'P449'}"",
}},
{type = "row", label = "الميزانية"
{type = "row", label = "المنتج المنفذ",
, value = {"ميزانية" ,'budget'}
value = "منتج منفذ",
, wikidata = {property = 'P2130 or P2769', formatting='unit', case=FormatNumVal}},
wikidata={
{type = "row", label = "الإيرادات"
property = 'P1431',qualifier = 'P3831',
, value = {'gross','إيرادات','الإيرادات','ايرادات' }
, wikidata = {property = 'P2142', formatting = 'table',rowformat = '$0$R0 $1$2$3',
,qualifier = 'P585',rowsubformat1 = '<br><small>($1)</small>}}',
conjunction ='<br/>'},
,qualifier2 = 'P3005',rowsubformat2 = '<br><small>← $2</small>'
metadata = {
,qualifier3 = 'P1352',rowsubformat3 = '<br>{{small|←المرتبة: $3}}'
description = "",
,colformat0 = 'unit',colformat1 = 'Y' , case0=FormatNumVal
option = "",
, conjunction ="<hr style=\"clear:both; margin: 4px 30px 4px 30px;\"/>"
type = "string",
example = "",
}},
{type = "row", label = "التوزيع",
value = {'موزع','توزيع','distributor'},
wikidata = { property = 'P750'},
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "نسق التوزيع",
value = {'نسق','نسق التوزيع','distribution format'},
wikidata = { property = 'P437'},
metadata = {
description = "شكل التوزيع (قاعات السينما / دي في دي/انترنت)",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "شبكة البث الأصلية",
value = "شبكة البث",
wikidata = { property = 'P449'},
metadata = {
description = "",
option = "",
type = "string",
example = "",
}},
{type = "row", label = "الميزانية",
value = {"ميزانية" ,'budget'},
wikidata = {
property = 'P2130 or P2769',
formatting='unit', case=FormatNumVal},
metadata = {
description = "المبالغ المخصصة للإنتاج (بشكل إجمالي)",
option = "",
type = "string",
example = "23 مليون دولار أمريكي",
}},
{type = "row", label = "الإيرادات",
value = {'إيرادات','الإيرادات' , 'gross'},
wikidata = {
formatting = 'table',
property = 'P2142',
colformat0 = 'unit', colformat1 = 'Y' , case0=FormatNumVal,
rowformat = '$0$R0 $1$2$3',
qualifier = 'P585',
rowsubformat1 = '<br><small>←($1)</small>}}',
qualifier2 = 'P3005',
rowsubformat2 = '<br><small>← $2</small>',
qualifier3 = 'P1352',
rowsubformat3 = '<br>{{small|←المرتبة: $3}}',
conjunction ="<hr style=\"clear:both; margin: 4px 30px 4px 30px;\"/>"
},
metadata = {
description = "حجم الإيرادات المالية بشكل إجمالي",
option = "",
type = "string",
example = "222 مليون دولار أمريكي",
}
},
السطر 171 ⟵ 427:
},
{type = "table", title = "التسلسل", rows = {
{type = "row", label = "السلسلة",
value = "سلسلة",
wikidata= {
, wikidata= { property='P179' , formatting='table'
property='P179', formatting='table',
, qualifier='P155' , qualifier2 = 'P156', qualifier3 = 'P1545'
qualifier='P155', qualifier2 = 'P156', qualifier3 = 'P1545',
, rowformat = "<div style=\"text-align:center\">$3 $0 $1$2</div>"
, rowsubformat1 rowformat = "<br /><smalldiv style=\"floattext-align:rightcenter\">&rarr;$3 $0 $1$2</smalldiv>",
, rowsubformat2 rowsubformat1 = "<br /><small style=\"float:leftright\">$2 &larrrarr; $1</small>" ,
rowsubformat2 = "<br /><small style=\"float:left\">$2 &larr;</small>",
, rowsubformat3 = "رقم $3 في سلسلة: <br/>"
rowsubformat3 = "رقم $3 في سلسلة: <br/>",
, shownovalue = "false"
shownovalue = "false",
, conjunction ="<hr style=\"clear:both; margin: 10px 30px 10px 30px;\"/>"
conjunction ="<hr style=\"clear:both; margin: 10px 30px 10px 30px;\"/>"
}},
},
{type = 'navbox' , inner='y'
metadata = {
, previousparameter = "سبقه", previousproperty = "P155"
description = "اسم السلسلة التي ينتمي إليها الفيلم",
, nextparameter = "تبعه", nextproperty = "P156"}
option = "",
type = "string",
example = "[[إكس مان (سلسلة أفلام)|X-Men]] (رقم 2)",
}},
{type = 'navbox' , inner='y',
previousparameter = "سبقه", previousproperty = "P155",
nextparameter = "تبعه", nextproperty = "P156"}
},
},