وحدة:بطاقة/قالب/مقطوعة موسيقية

-- Credits:
-- Developer : وهراني @arwiki (وحدة:بطاقة/قالب/مقطوعة موسيقية)
-- Version: 20240601

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

return 	{
    maincolor = 'Moccasin', -- اللون المستعمل لعنوان البطاقة
    wikimod = 'Wikidata.Ca',
    parts = { -- محتويات البطاقة
	generic.title({icon= "musique"}),
	generic.logo(),
	generic.mainimage(),
	
	{type = 'table' , title ='معلومات عامة' ,rows = {
	{type = 'row',
		label = 'English',
		value = {'translation'}
		--, wikidata = {property='P'}
	},
	generic.native_name({type = 'row', label = 'الاسم الأصلي'}),

	{type = 'row', 
		label = 'Original',
		value = {'original'}
		--, wikidata = {property='P'}
	},
	{type = 'row',
		label = 'العنوان الكامل',
		value = {'عنوان كامل','full_title'},
		--, wikidata = {property='P'}
	},
	{type = 'row', 
		label = 'أسماء أخرى',
		value = {'أسماء أخرى','other_name','known_as'}
		--, wikidata = {property='P'}
	},
    {type = 'row' , label = 'سمي نسبة لـ' 
           , value = {'سمي','named_after'} 
           , wikidata = {property='P138'}
    },
	{type = 'row', 
		label = 'المفتاح',
		value = {'مفتاح','key'},
		wikidata = {property='P826'}
	},
	{type = 'row' ,
		label = 'Cycle',
		value = {'cantata_cycle'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'القائمة',
		value = {'قائمة','catalogue'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = '[[رقم العمل الموسيقي|Opus]]',
		value = {'opus'},
		wikidata = {
			property='P528', formatting='table',
            qualifier='P972' , whitelist1='Q385271', rowformat='$0'},
        wikidata2 = {property='P10855'}
	},
	{type = 'row' 
		, label = '[[International Standard Musical Work Code|ISWC]]'
		, value = {'ISWC'}
		, wikidata = {property='P1827'}
	},
	{type = 'row' ,
		label = 'السنة',
		value = {'سنة','year'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'الفترة',
		value = {'فترة','period'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'النوع',
		value = {'نوع','genre'},
		wikidata = {property='P136'}
	},
	{type = 'row' ,
		label = 'الشكل الإبداعي',
		value = {'شكل إبداعي','work form'},
		wikidata = {property='P7937'}
	},
	{type = 'row' ,
		label = 'النمط',
		value = {'نمط','style'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'التكوين',
		value = {'تكوين','form'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'متعلق بـ',
		value = {'متعلق بـ','related'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'المناسبة',
		value = {'مناسبة','occasion'},
		wikidata = {property='P9215'}
	},
	{type = 'row' ,
		label = 'تاريخ الكتابة',
		value = {'تاريخ','written'},
		wikidata = {property='P571'}
	},
	{type = 'row' ,
		label = 'طلبها',
		value = {'طلبها','client'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'النص والكلمات',
		value = {'كلمات','text'},
		wikidata = {property='P6439'}
	},
	{type = 'row' ,
		label = '[[Bach cantata#Text of Bach\'s sacred cantatas|Cantata text]]',
		value = {'text_poet'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'Bible text',
		value = {'bible_text','bible'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'كورال',
		value = {'كورال','chorale'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'النص الشعري',
		value = {'نص شعري','libretto'},
		wikidata = {property='P87'}
	},
	{type = 'row' ,
		label = 'اللغة',
		value = {'لغة','language'},
		wikidata = {property='P407', blacklist0='Q22282939', formatting='table', rowformat='$0'}
	},
	{type = 'row' ,
		label = 'مبني على',
		value = {'مبني على','based_on'},
		wikidata = {property='P144'}
	},
	{type = 'row' ,
		label = 'آلة القياس',
		value = {'meter'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'اللحن',
		value = {'لحن','melody'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'الوقت',
		value = {'وقت','time'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'المؤلف',
		value = {'مؤلف','composer'},
		wikidata = {property='P86'}
	},
	{type = 'row' ,
		label = 'تاريخ التأليف',
		value = {'تاريخ التأليف','composed'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'مصمم الرقص',
		value = {'مصمم الرقص','choreographer'},
		wikidata = {property='P1809', conjunction ='<br />', listrank='bestrank'}
	},
	{type = 'row' ,
		label = 'الإهداء',
		value = {'إهداء','dedication'},
		wikidata = {property='P825'}
	},
	{type = 'row' ,
		label = 'تاريخ الأداء',
		value = {'تاريخ الأداء','performed'},
		-- wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'تاريخ النشر',
		value = {'تاريخ النشر','published'},
		wikidata = {property='P577'}
	},
	{type = 'row' ,
		label = 'الناشر',
		value = {'ناشر','publisher'},
		-- wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'أول التسجيل',
		value = {'أول التسجيل','first_recording'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'المدة',
		value = {'مدة','duration'},
		wikidata = {property='P2047',formatting='unit'}
	},
	{type = 'row' ,
		label = 'التعليق',
		value = {'تعليق','comment'},
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'عدد الأجزاء',
		value = {'عدد الأجزاء','movements'},
		wikidata = {property='P2635'}
	},
	{type = 'row' ,
		label = 'التقييم',
		value = {'تقييم','scoring'}
		--, wikidata = {property='P'}
	},
	{type = 'row' ,
		label = 'منفرد',
		value = { 'منفرد','solo'},
		--, wikidata = {property='P'}
	},
	{type = 'row' 
		, label = 'أصوات منفردة'
		, value = {'أصوات منفردة','solo_voices'}
		--, wikidata = {property='P'}
	},
	{type = 'row' 
		, label = 'الجوقة'
		, value = {'جوقة','choir'}
		--, wikidata = {property='P'}
	},
	{type = 'row' 
		, label = 'الصوت'
		, value = {'صوت','vocal'}
		--, wikidata = {property='P'}
	},
	{type = 'row' 
		, label = 'الآلات'
		, value = {'آلات','instrumental','instruments'}
		, wikidata = {property='P870'}
	},
	{type = 'row' 
		, label = 'اللحن المصاحب'
		, value = {'لحن مصاحب','obbligato'}
		--, wikidata = {property='P'}
	},
   }},
   {type = 'table' , title ='العرض الأول' ,rows = {
	{type = 'row' 
		, label = 'التاريخ'
		, value = {'premiere_date'}
		, wikidata = {property='P1191'}
	},
	{type = 'row' 
		, label = 'المكان'
		, value = {'premiere_location'}
		, wikidata = {property='P1191', qualifier= '/P4647 OR P4647 OR P276'
                    , formatting='table', rowformat='$1' }
	},
	{type = 'row' 
		, label = 'قائد الفرقة'
		, value = {'premiere_conductor'}
		, wikidata = {property='P1191',qualifier='P3300', conjunction = "<br />"}
	},
	{type = 'row' 
		, label = 'الأداء'
		, value = {'premiere_performers'}
		, wikidata = {property='P1191',qualifier='P175', conjunction = "<br />"}
	},
   }},
   {type = 'table' , title ='متفرقات' ,rows = {
	{type = 'row1col' 
		, value = {'متفرقات','misc'}
	},       
	}}
 }
}