وحدة:بطاقة/قالب/صحافة مكتوبة

من ويكيبيديا، الموسوعة الحرة

-- Credits:
--  وهراني @arwiki (ar:وحدة:بطاقة/قالب/صحافة مكتوبة)
-- Version: 20240413

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


return  {
    maincolor = '#A7D4E7',
    wikimod='Wikidata.Ca',
    parts = {
        generic.title( {icon="presse"}),
        generic.native_name(),
        generic.logo(),
        generic.mainimage(),
        {type = 'table' , title ='معلومات عامة', rows = {
                generic.motto({label = 'الشعار التَّرويجيّ',	value = {'الشعار_الترويجي'}}),
				{type = 'row' , label = 'النوع' ,
                	value = {'نوع','genre','type'},
					wikidata = {property = 'P136'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'تصدر كل' ,
                	value = {'تصدر_كل','frequency'},
                	wikidata = {property = 'P2896', formatting='unit'},
			        metadata = {
			            description = "فترة النشر القياسية للمنشورات",
			            option = "", 
			            type = "", suggestedvalues = {'يوم','أسبوع','شهر','سنة'},
			        }
                },
                {type = 'row' , label = 'تصدر يوم' ,
                	value = {'تصدر_يوم','day_of_release'},
                	wikidata = {
                		formatting='table', rowformat='$1', 
                		qualifier='P2894', property = 'P2896'},
			        metadata = {
			            description = "يوم الأسبوع المخصص للنشر",
			            option = "", 
			            type = "", suggestedvalues = {'السبت','الأحد','الإثنين','الثلاثاء','الأربعاء','الخميس','الجمعة'}
			        }
                },
                {type = 'row' , label = 'عدد الإصدارات' ,
                	value = {'عدد_النسخ','عدد_الإصدارات','circulation'},
                	wikidata = {
                		property = 'P2664 or P2635', 
                		formatting='table', rowformat='$0$R0$1', 
                		qualifier1='P813',
                		rowsubformat1="<small><br />&nbsp;(بتاريخ: $1)</small>",
                		showDate='true'
                	},
			        metadata = {
			            description = "عدد النسخ حتى يومنا (يجب تحديد هذا اليوم)",
			            option = "", 
			            type = "", 
			        }
                },
                generic.country({
                	property = "P495 OR P17",
                	label = 'بلد المنشأ' 
                }),

                org.dates(),
				{type = 'row', label = 'رقم الرخصة' ,
                	value = {'رقم الرخصة'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'أول نشر' ,
                	value = {'تاريخ_أول_صدور','firstdate'},
                	wikidata = {property = 'P580'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'آخر نشر' ,
                	value = {'تاريخ_آخر_صدور','finaldate','ceased publication'},
                	wikidata = {property = 'P582'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'الجمهور', 
                	value = {'جمهور','public'},
                	wikidata = {property = 'P2360'},
			        metadata = {
			            description = "الجمهور المستهدف من القراء",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'القطع', 
                	value = {'القطع','format'},
                	wikidata = {property = 'P3912'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'الثمن' ,
                	value = {'سعر','ثمن','السعر','الثمن','price'},
                	wikidata = {property = 'P2284', formatting='unit'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'التوزيع' ,
                	value = {'توزيع','التوزيع' ,'distribution'},
                	wikidata = {property = 'P437 or P750'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                generic.website(),
                generic.website({label='الأرشيف',value={'أرشيف','archive'},property='P7213'}),
                {type = 'succession'
                	, previousparameter ={'سبقه'} , nextparameter ={'تبعه'}
                	, previousproperty = "P155 OR P1365" , nextproperty = "P156 OR P1366"},        
        }},
        {type = 'table' , title ='شخصيات هامة', rows = {
                org.key_people(),
                {type = 'row' , label = 'رئيس التحرير' ,
                	value = {'رئيس التحرير','editor_title'},
                	wikidata = {property = 'P5769', showDate='true', listrank='bestrank', conjunction='<br />'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'رؤساء التحرير السابقون' ,
                	value = {'رئيس_تحرير_سابق','previous_editor'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'نائب رئيس التحرير' ,
                	value = {'نائب رئيس التحرير'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                
                {type = 'row' , label = 'فريق الكتاب' ,
                	value = {'الكتاب','فريق_الكتاب','staff_writer'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'المصورون' ,
                	value = {'محرر الصور','مصور','photographer'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },

				{type = 'row', label = 'المحررون' ,
                	value = {'المحررون','staff'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
				{type = 'row', label = 'محرر الافتتاحية' ,
                	value = {'محرر الافتتاحية'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
				{type = 'row', label = 'محرر الأخبار' ,
                	value = {'محرر الأخبار'}},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                ,
				{type = 'row', label = 'محرر الاقتصاد' ,
                	value = {'محرر الاقتصاد'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
				{type = 'row', label = 'محرر الرياضة' ,
                	value = {'محرر الرياضة','sportseditor'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
        }},
        {type = 'table' , title ='التحرير', rows = {

                {type = 'row' , label = 'اللغة' , plurallabel = 'اللغات',
                	value = {'لغة','اللغة','language'},
                	wikidata = {property = 'P407'},
			        metadata = {
			            description = "لغة النشر",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'التصنيفات' ,
                	value = {'تصنيف','التصنيف','category'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'الملاحق' ,
                	value = {'الملاحق'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'المواضيع' ,
                	value = {'موضوع','مواضيع','subject'},
                	wikidata = {property = 'P921'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                org.politics(),
                generic.awards(),
        }},
        {type = 'table' , title ='الإدارة', rows = {
                org.parent_organization(),
                org.subsidiary(),
                org.headquarters(),
                {type = 'row' , label = 'الناشر' ,
                	value = {'ناشر','الناشر','publisher'},
                	wikidata = {property = 'P123'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = 'row' , label = 'مكان النشر' ,
                	value = {'بلد النشر','مكان النشر','place of publication'},
                	wikidata = {property = 'P291'},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
               {type = 'row' , label = '[[رقم_تسلسلي_معياري_دولي|ISSN]]', 
                	value = {'ر.ت.م.د','رقم_تسلسلي_معياري_دولي','issn'},
                	wikidata = {
                		property = 'P236', 
                		formatting='table',
                		qualifier='P437', rowsubformat1 = '($1)',
                		rowformat='* [http://worldcat.org/issn/$0 $0]$R0 $1'
                	},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
        }},
        {type = 'table' , title ='بيانات اقتصادية', rows = {
                org.ecosys(),
        }}, 	
       }  -- for parts
} -- for return