وحدة:بطاقة/قالب/برنامج فضاء
هذه الصفحة شرح لوحدة من وحدات البطاقات المبنية اعتمادا على وحدة:بطاقة. وتستعمل في {{بطاقة برنامج فضاء}}.
local general = require( 'وحدة:بطاقة/أدوات' )
return
{
maincolor = "#ABD2D0",
wikimod = 'Wikidata.Ca',
parts = {
general.title({icon= "satellite"}),
general.logo(),
general.mainimage(),
{type = "table", title = "معلومات عامة", rows = {
{type = "row", label = "البلد"
, value = {'بلد',"country"}
, wikidata = {property = 'P17', conjunction='<br />'}
},
{type = "row", label = "المنظم"
, value = {'منظم','منظمة',"organization","organisation"}
, wikidata = {property = 'P137', conjunction='<br />', formatting='table'
, qualifier1= 'P137/P154 OR P137/P94 OR P137/P158 OR P137/P41'
, rowformat = '$1 $0 $2'
, qualifier2 = 'P580 OR P582', rowsubformat2= "<small>($3 - $4)</small>"
, qualifier3 = 'P580'
, qualifier4 = 'P582'
, rowsubformat1='[[File:$1|25x25px]] ' }
},
{type = "row", label = "المدير"
, value = {'مدير',"manager"}
--, wikidata = {property = 'P'}
},
{type = "row", label = "مجالات العمل"
, value = {'مجال',"field"}
, wikidata = {property = 'P101'}
},
{type = "row", label = "الهدف"
, value = {'هدف','الهدف',"purpose"}
, wikidata = {property = 'P3712'}
},
{type = "row", label = "الحالة"
, value = {'حالة',"status"}
--, wikidata = {property = 'P'}
},
{type = "row", label = "الكلفة"
, value = {'كلفة',"cost"}
--, wikidata = {property = 'P2130', formatting='unit', convert='M'}
},
{type = "row", label = "موقع الإطلاق"
, value = {'موقع_الإطلاق',"launchsite"}
, wikidata = {property = 'P1427', conjunction='<br />'}
},
general.website(),
}},
{type = "table", title = "تاريخ البرنامج", rows = {
{type = "row", label = "البداية"
, value = {'بداية',"start"}
, wikidata = {property = 'P580 OR P571'}
},
{type = "row", label = "مدة البرنامج"
, value = {'مدة',"duration"}
--, wikidata = {property = 'P2047'}
},
{type = "row", label = "النهاية"
, value = {'نهاية',"end"}
, wikidata = {property = 'P582'}
},
}},
{type = "table", title = "الرحلات", rows = {
{type = "row", label = "أول رحلة"
, value = {'أول_رحلة',"firstflight","first","maiden","maidenflight"}
, wikidata = {property='P793', conjunction='<br />', whitelist0 ='Q1362364', qualifier1='P585'
, formatting='table',rowformat='$1 $2', qualifier2='P642', rowsubformat2='<small><br />($2)</small>'
}
},
{type = "row", label = "أول رحلة مأهولة"
, value = {'أول_رحلة_مأهولة',"firstcrewed"}
, wikidata = { property='P793' , formatting='table'
, qualifier='P585' , qualifier2='P642'
, qualifier3='P518', qualifier4='P5102 OR P1480'
, rowformat = '$4 $1$2' , rowsubformat2=' ($2)'
, rowsubformat4="'''$4:'''" , colformat4='label'
, whitelist3='Q752783' }
},
{type = "row", label = "آخر رحلة"
, value = {'آخر_رحلة',"lastflight","last"}
, wikidata = {property='P793', conjunction='<br />', whitelist0 ='Q104716501', qualifier1='P585'
, formatting='table',rowformat='$1 $2', qualifier2='P642', rowsubformat2='<small><br />($2)</small>'
}
},
{type = "row", label = "النجاحات"
, value = {'نجاحات',"successes"}
, wikidata = {property='P793', conjunction='<br />', whitelist0 ='Q7632586', qualifier1='P1114'
, formatting='table',rowformat='$1'
}
},
{type = "row", label = "الإخفاقات"
, value = {'إخفاقات',"failures"}
, wikidata = {property='P793', conjunction='<br />', whitelist0 ='Q1121708', qualifier1='P1114'
, formatting='table',rowformat='$1'
}
},
{type = "row", label = "الإخفاقات الجزئية"
, value = {'إخفاقات_جزئية',"partialfailures"}
--, wikidata = {property = 'P'}
},
{type = "row", label = "الرحلات"
, value = {'رحلات',"missions"}
, wikidata = {property = 'P527', conjunction='<br />', formatting='table'
, qualifier='P527/P154 OR P527/P94 OR P527/P158 OR P527/P41'
, rowformat = '$1 $0'
, rowsubformat1='[[File:$1|25x25px]] '
}
},
}},
{type = "table", title = "المركبات", rows = {
{type = "row", label = "نوع المركبة"
, value = {'نوع_مركبة',"vehicletype"}
--, wikidata = {property = 'P'}
},
{type = "row", label = "مركبة بلا طاقم"
, value = {'مركبة',"uncrewvehicle"}
, wikidata = {property = 'P2283', conjunction='<br />', whitelist1 ='Q1378139', qualifier1='P642'
, formatting='table',rowformat='$0$R0'
}
},
{type = "row", label = "مركبة الطاقم"
, value = {'مركبة_طاقم',"crewvehicle"}
, wikidata = {property = 'P2283', conjunction='<br />', whitelist1 ='Q7217761', qualifier1='P642'
, formatting='table',rowformat='$0$R0'
}
},
{type = "row", label = "سعة الطاقم"
, value = {'سعة','السعة',"capacity"}
, wikidata = {property = 'P1083'}
},
{type = "row", label = "مركبات الإطلاق"
, value = {'مركبة_إطلاق',"launcher"} --P375
, wikidata = {property = 'P2283', conjunction='<br />'
, whitelist1 ='Q697175', qualifier1='P642'
, formatting='table',rowformat='$0$R0'
}
},
}},
}}