وحدة:بطاقة/قالب/منظمة
هذه الصفحة شرح لوحدة من وحدات البطاقات المبنية اعتمادا على وحدة:بطاقة. وتستعمل في {{بطاقة منظمة}}.
-- Credits:
-- Original from fr:Module:Infobox/Organisation
-- forked an developed by وهراني @arwiki (ar:وحدة:بطاقة/قالب/منظمة)
-- Version: 20240325
local generic = require( 'وحدة:بطاقة/أدوات' )
local org = require( 'وحدة:بطاقة/أدوات/منظمة' )
local building = require( 'وحدة:بطاقة/أدوات/مبنى' )
local localdata = require 'وحدة:بطاقة/بيانات'
return {
wikimod = 'Wikidata.Ca',
parts = {
generic.title(),
{type = 'subtitle', value = {'اسم رسمي', 'official name'}
, wikidata = {property = 'P1448', conjunction = "<br />", separator = "<br />"
,formatting = '$text {{Language icon|NoCat=y|$language}}'}},
generic.logo(),
generic.flag(),
generic.blason(),
generic.locationmap(),
generic.mainimage({wikidata = {property = {"P2716", "P18"}}}),
{type = 'table', title ='معلومات عامة', rows = {
{type = 'row', value = {'شعار نصي', 'slogan', 'motto'}
, wikidata = {property = 'P1451', separator = "LF"
,formatting = '$text {{Language icon|NoCat=y|$language}}'}
, style = {
['text-align'] = 'center', ['font-size'] = '0.9em'
, ['font-weight'] = 'normal', ['font-style'] = 'italic' }},
{type = 'row' , label = 'النشيد'
, value = {'نشيد','anthem'}
, wikidata = {property = 'P85', list=false}},
{type = 'row'
, label = 'جالب الحظ'
, value = {'جالب الحظ','mascota'}
, wikidata = {property = 'P822'}},
{type = 'row'
, label = 'سمي باسم'
, value ={'سمي باسم','named after'}
, wikidata = {property = 'P138'}},
{type = 'row'
, label = 'الاسم التجاري'
, value ={'اسم تجاري','trading name'}
, wikidata = {property = 'P6427',list = 'bestrank'}},
{type = 'row'
, label = 'اللون الرسمي'
, value ={'لون','colors'}
, wikidata = {property = 'P6364',list = 'bestrank'}},
}},
{type = 'table', title = localdata['تاريخ']
--or wd.formatStatements{entity = id, property = 'P2184', withlink = 'arwiki'}
or 'التاريخ',
rows = {
org.dates(),
org.key_people(),
-- [[
{type = 'row', label = 'عوضت', value = {'عوضت', 'a remplacé', 'سبقتها'}
, wikidata = {property = 'P1365 OR P155 OR P1398' }},
{type = 'row', label = 'عوضتها', value = {'عوضتها', 'لحقتها'}
, wikidata = {property = 'P1366 OR P156 OR P167' }},
--]]
{type = 'row', label = 'الانقسام', value = {'انقسام'}},
{type = 'row'
, label = 'انفصل عن'
, value = {'انفصل عن','separated_from'}
, wikidata = {property = 'P807' }},
{type = 'row'
, label = 'الاندماج'
, value ={'اندمج في','اندماج','merged_into'}
, wikidata = {property = 'P7888' }},
{type = 'row'
, label = 'الاعتماد'
, value ={'اعتماد','accredited_by'}
, wikidata = {property = 'P5514' ,
list = 'bestrank', conjunction = '<br />',
showDate='true'}},
generic.awards(),
}},
{type = 'table', title='الإطار', rows = {
{type = 'row'
, label = 'الاختصار'
, value = {'اختصار','abbreviation'}
, wikidata = {property = 'P1813', separator="<br />",
formatting = "$text <small>{{Language icon|NoCat=y|$language}}</small>" ,
list = 'bestrank', conjunction = '<br />'}},
{type = 'row'
, label = 'اللقب', value = {'لقب'}
, wikidata = {property = 'P1449', separator="\n"
,formatting = "* $text <small>{{Language icon|NoCat=y|$language}}}</small>", list = 'bestrank'}},
org.operating_area(),
{type = 'row' , label = 'النوع' ,
value = {'نوع','type'},
wikidata = {property = 'P31',
conjunction = '<br />',
--qualifier1 ='P642', qualifier2 ='P459',
--qualifier3 ='P1013', qualifier4 ='P5102'
}
},
{type = 'row' , label = 'الوضع القانوني' ,
value = {'حالة','وضع'} ,
wikidata = {property = 'P1454',formatting = 'table' ,
qualifier1 = 'P4649',
rowformat = '$0 $1',
rowsubformat1='($1)',
showDate = 'true',
conjunction = '<br />'}
},
{type = 'row' , label = 'الاهتمامات' ,
value = {'اهتمامات','purpose'}
},
{type = 'row' , label = 'عدد الأعضاء' ,
value = {'عضوية'} ,
wikidata = {property = 'P2124', showDate='true', listrank = 'bestrank'}
},
{type = 'row' , label = 'عدد الطلاب' ,
value = {'عدد_الطلاب','students_count'} ,
wikidata = {property = 'P2196', showDate='true', listrank = 'bestrank'}
},
{type = 'row'
, label = 'مهن الأعضاء'
, value = {'عمل الأعضاء','member occupation'}
, wikidata = {property = 'P3989', listrank = 'bestrank'}
},
{type = 'row'
, label = 'عدد المتطوعين'
, value ={'متطوعون','num_volunteers'}
, wikidata = { property = 'P6125', showDate='true', listrank = 'bestrank'}
},
{type = 'row', label = 'الغرض' , value = {'غرض'}
, wikidata = {property = 'P6346',list=false
,formatting = '({{Language icon|NoCat=y|$language}}) $text'}
},
{type = 'row', label = 'مجال النشاط',
plurallabel = 'مجالات النشاط',
value = {'مجال', 'مجالات', 'قطاع','discipline', 'disciplines'}
, wikidata = {property = 'P101 OR P452 OR P2650'}
},
{type = 'row'
, label = 'منطقة الاختصاص'
, value = {'اختصاص','jurisdiction'}
, wikidata = {property = 'P1001',list = 'bestrank'}
},
{type = 'row'
, label = 'النوع الفني'
, value = {'نوع_فني','genre'}
, wikidata = {property = 'P136',list = 'bestrank' }
},
{type = 'row', label = '[[حركة ثقافية|الحركة]]',
value = {'حركة','movement'},
wikidata = {property = 'P135',list = 'bestrank'}
},
{type = 'row'
, label = 'أهم عمل'
, value = {'أعمال بارزة','notable work'}
, wikidata = { property = 'P800'
, formatting = 'table',tablesort = '1'
, qualifier = ' P571 OR P577 OR P585 OR P800/P571 OR P800/P577 OR P800/P1191'
, rowformat = '*$1 $0',rowsubformat1 = '<small>($1)</small>'
, colformat1 = 'Y',separator = '</br>'
}} ,
{type = 'row'
, label = 'المدير الموسيقي'
, value = {'مدير موسيقي','musical conductor'}
, wikidata = {property = 'P3300',showDate='true'}
},
{type = 'row'
, label = 'مخرج الجوقة'
, value = {'مخرج الجوقة','choral conductor'}
, wikidata = {property = 'P5024',separator = '<br/>',showDate='true'}
},
{type = 'row', label = 'مصادر الدخل',
value = 'دخل',
wikidata = {property = 'P2770'}
},
{type = 'row', label = 'الأهداف'
, value = {'هدف', 'objective'}
, property = 'P3712'},
org.headquarters(),
generic.country(),
--
{type = 'row', label = 'اللغة الرسمية',
plurallabel = 'اللغات الرسمية',
value = {'لغة', 'language', 'لغة رسمية', 'official language'},
wikidata = {property = 'P37', showqualifiers = 'P4626'}},
{type = 'row', label = 'لغات أخرى'
, value = {'لغة أخرى', 'لغة عمل'}
, wikidata = {property = 'P2936', showqualifiers = 'P4626'}},
}},
{type = 'table', title='التنظيم',rows = {
{type = 'row', label = 'فرع من'
, value = {'منظمة أم','parent_organization'}
, wikidata = {property = 'P749', showDate='true', sorttype = 'chronological'
, showqualifiers = {'P1001'}, conjunction = "<br />"}},
{type = 'row', label = 'الفروع', value = 'فروع', wikidata={property = {'P199','P355'}, conjunction = "<br />"}},
{type = 'row', label = 'الأجهزة الداخلية', value = 'أجهزة',
wikidata={property = {'P527'}, conjunction = "<br />"}},
{type = 'row', label = 'الشركاء', value = 'شركاء', property = 'P2652'},
{type = 'row', label = 'الانتماء'
, value = {'انتماء','انتماءات','affiliations','عضو'}
, wikidata = {property = 'P1416 OR P463', showDate='true' }},
{type = 'row', label = 'الراعي التجاري', plurallabel = 'الرعاة التجاريون', hidden = true
, value ={'راعي','sponsor'}
, wikidata = {property = 'P859'}},
{type = 'row'
, label = 'الدين'
, value ={'الدين','religion'}
, wikidata = {property = 'P140'}},
-- التوجهات السياسية
org.politics(),
{type = 'row', label = 'التحالف السياسي', plurallabels = 'التحالفات السياسية'
, value = {'تحالف', 'تحالف سياسي'}, wikidata = {property = 'P5832'}},
{type = 'row', label = '[[كتلة برلمانية|الكتلة البرلمانية]]', value = {'كتلة برلمانية', 'برلمان'}
, wikidata = {property = 'P4100'}},
-- الحالة المالية
org.ecosys(),
{type = 'row'
, label = 'إجمالي القيمة المالية'
, value ={'قيمة مالية','equity'}
, wikidata = {property = 'P2137',list=false,formatting = 'table',qualifier = 'P585',rowformat = '$0 $1',rowsubformat1 = '{{small|($1)}}',colformat0 = 'unitcode',convert0 = 'M',colformat1 = 'Y'}},
{type = 'row', label = 'الموازنة' , value = {'ميزانية','budget'}
, wikidata = {property = 'P2769',list=false, formatting = 'table'
,qualifier = 'P585'
,rowformat = '$0 $1',rowsubformat1 = '<small>($1)</small>'
,colformat0 = 'unitcode',convert0 = 'M',colformat1 = 'Y'}},
{type = 'row', label = 'المصاريف', value = {'مصاريف', }
, wikidata = {property = 'P2402', showDate='true', sorttype = 'chronological', showunit = 'true'}},
--{type = 'row', label = 'Notation', value = 'notation'},
{type = 'row' , label = 'إجمالي الأصول' , value = {'أصول'}
, wikidata = {property = 'P2403'
,list=false,formatting = 'table'
,qualifier = 'P585'
,rowformat = '$0 $1',rowsubformat1 = '<small>($1)</small>'
,colformat0 = 'unitcode',convert0 = 'M',colformat1 = 'Y'}},
-- متفرقات
org.products(),
{type = 'row', label = 'التواصل الإعلامي'
, value = {'إعلام', 'publication', 'نشر'}
, wikidata = {property = 'P2813', showDate='true'
, sorttype = 'chronological', conjunction = "<br />"
, defaultlink = '-', defaultlinkquery = {property = 'P123', 'P1433'}
}},
generic.website(),
building.phone_number(),
{type = "mixed", label = "بوابة البيانات", value = "بوابة البيانات"
, wikidata = {property = "P1325", displayformat = "weblink"}},
{type = "mixed", label = "[[وضع قانوني|الوضع]]", value = "وضع"
, wikidata = {property = "P6378", displayformat = "weblink", text = "على الويب"}},
generic.coordinates(),
}},
--organisation.ids(),
generic.geoloc({default_zoom=4}),
}
}