وحدة:بطاقة/قالب/شخصية خيالية

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

local localdata = require("وحدة:بطاقة/بيانات")
local generic = require "وحدة:بطاقة/أدوات"
local person = require 'وحدة:بطاقة/أدوات/شخص'
return 
	{
	maincolor = '#B4B4B2',
	wikimod = 'Wikidata.Ca',
 	parts =
    	{
			generic.title({icon= 'persofiction'}),
            {type='subtitle',
            	value={'الاسم الأصلي','native_name'},
                wikidata= {
                	property = 'P1559 OR P1476 OR P1448 OR P1705', 
                	list = 'notlang', conjunction = "<br />",
                	listrank='bestrank' ,
                	formatting = '$text {{Language icon|NoCat=y|$language}}'
                }},
            generic.logo(),
            generic.flag(),
			generic.mainimage(),
            {type='table', title = 'معلومات عامة',rows = {
                {
                    type = 'row',
                    label = 'التوصيف',
					value = {'توصيف','description'},
					wikidata = {property = 'P279'}
				},
                {
                    type = 'row',
                    label = 'أول ظهور',
					value = {'أول_ظهور','first','firstgame'},
					wikidata = {property = 'P4584 OR P571 OR P580 OR P577'}
				},
                {
                    type = 'row',
                     label = 'آخر ظهور',
					value = {'آخر_ظهور','last'},
					wikidata = {property = 'P582'}
				},
                {
                    type = 'row',
                     label = 'ظهر في',
					value = {'ظهر_في','present_in'},
					wikidata = {
                        property = 'P1441', formatting='table', qualifier1='P577', 
                        rowformat='* $1 $0$R0', rowsubformat1="$1:",
                        showDate='true'
                    }
				},
                {
                    type = 'row',
                     label = 'العالم الخيالي',
					value = {'عالم','universe'},
					wikidata = {property = 'P1080'}
				},
                {
                    type = 'row',
                     label = 'جزء من',
					value = {'جزء من','part of'},
					wikidata = {property = 'P361'}
				},
                {
                    type = 'row', 
                    label = 'الثقافة',
					value = {'ثقافة','culture'},
					wikidata = {property = 'P2596'}
				},
                {
                    type = 'row', 
                    label = 'بلد الأصل',
					value = {'بلد','country of origin'},
					wikidata = {property = 'P495'}
				},               
                {
                    type = 'row', 
                    label = 'المبتكر',
					value = {'مبتكر','creator'},
					wikidata = {property = 'P170 OR P50'}
				},
                {
                    type = "row", 
                    label = "مأخوذ عن",
                    value ={ "العمل الأصلي" ,'based_on'},
                    wikidata = {property = 'P144'}
                },
                {
                    type = 'row',
                    label = 'الناشر',
					value = {'ناشر','publisher'},
					wikidata = {property = 'P123'}
				},
                {
                    type = 'row', 
                    label = 'الاقتباس',
					value = {'اقتباس','adapted_by'},
					wikidata = {property = 'P5202'}
				},
                {
                    type = 'row', 
                    label = 'المصمم',
					value = {'مصمم','designer'},
					wikidata = {property = 'P287'}
				},
                {
                    type = 'row', 
                    label = 'أدى دوره',
					value = {'مؤدي','portrayer'},
					wikidata = {property = 'P175 OR P161', conjunction='<br />'}
				},
                {
                    type = 'row', 
                    label = '[[مؤدي أصوات]]',
					value = {'صوت','voice'},
					wikidata = {property = 'P725', 
                        qualifier='P407', 
                        formatting='table', 
                        rowformat='* $0$R0 $1',
                        rowsubformat1='<small>{{Language icon|NoCat=y|$1}}</small>', colformat1='label'}
				},
                {
                    type = 'row', 
                    label = '[[لاقط الحركة]]',
					value = {'لاقط_الحركة','motion_actor'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 1','lbl1'},
					value = {'معلومة 1','data1'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 2','lbl2'},
					value = {'معلومة 2','data2'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 3','lbl3'},
					value = {'معلومة 3','data3'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 4','lbl4'},
					value = {'معلومة 4','data4'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 5','lbl5'},
					value = {'معلومة 5','data5'},
					--wikidata = {property = 'P'}
				},
                generic.website(),
            }},
            {type='table', title = localdata['info-hdr'] or 'معلومات عن البيئة' ,
                rows = { 
				person.birth(),
				person.death(),               
                {
                    type = 'row', 
                    description = 'الاسم الحقيقي', 
                    label = 'الاسم الحقيقي',
					value = {'الاسم الحقيقي','real_name'},
					--wikidata = {property = 'P'}
				},
                person.othernames(),
                {
                    type = 'row', 
                    label = 'العرق',
					value = {'عرق','race'},
					wikidata = {property = 'P172'}
				},
                {
                    type = 'row', 
                    label = 'Species',
					value = {'species'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    label = 'الجنس',
					value = {'جنس','gender'},
					wikidata = {property = 'P21'}
				},
                {
                    type = 'row', 
                    label = 'لون العين',
					value = {'لون العين','eye color'},
					wikidata = {property = 'P1340'}
				},
                {
                    type = 'row', 
                    label = 'لون الشعر',
					value = {'لون الشعر','hair color'},
					wikidata = {property = 'P1884'}
				},
                {
                    type = 'row', 
                    label = 'المهنة',
					value = {'مهنة','occupation'},
					wikidata = {property = 'P106'}
				},
                {
                    type = 'row', 
                    label = 'يعمل عند',
					value = {'رب_العمل','employer'},
					wikidata = {property = 'P108'}
				},
                {
                    type = 'row', 
                    label = 'نوع الشخصية',
					value = {'نوع الشخصية','character type'},
					wikidata = {property = 'P9071'}
				},
                {
                    type = 'row', 
                    label = 'Position',
					value = {'position'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    label = 'Class',
					value = {'class'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    label = 'الانتماء',
					value = {'انتماء','affiliation','alignment'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    label = 'طريقة القتال',
					value = {'طريقة_القتال','fighting_style'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    description = 'الأسلحة المستعملة', 
                    label = 'السلاح',
					value = {'سلاح','السلاح','weapon'},
					wikidata = {property = 'P520'}
				},
                {
                    type = 'row', 
                    description = 'القوى العجيبة المستعملة', 
                    label = 'القوى',
					value = {'قوى','القوى','powers'},
					wikidata = {property = 'P2563'}
				},
                person.family(),
                {
                    type = 'row', 
                    label = 'Significant others',
					value = {'significant_other','significant_others'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    description = 'شركاء الشخصية', 
                    label = 'الشركاء',
					value = {'شريك','شركاء','partners'},
					wikidata = {property = 'P2546', conjunction='<br />'}
				},
                {
                    type = 'row', 
                    description = 'أعداء الشخصية', 
                    label = 'الأعداء',
					value = {'عدو','أعداء','enemy'},
					wikidata = {property = 'P7047', conjunction='<br />'}
				},
                {
                    type = 'row', 
                    description = 'قاتل الشخصية', 
                    label = 'قاتل الشخصية', 
					value = {'قاتل','killer'},
					wikidata = {property = 'P157', conjunction='<br />'}
				},
                {
                    type = 'row', 
                    description = 'ديانة الشخصية', 
                    label = 'الدين',
					value = {'دين','ديانة','religion'},
					wikidata = {property = 'P140'}
				},
                {
                    type = 'row', 
                    label = 'Origin | Home',
					value = {'origin','home'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', 
                    label = 'الجنسية',
					value = {'جنسية','مواطنة','nationality'},
					wikidata = {property = 'P27'}
				},
				{
					type = 'row', 
					label = 'المطية', 
					plurallabel= 'المطايا', 
					value= {'مطية','mount'}, 
					wikidata={property =  'P3091'}
				},
                {
                    type = 'row', label = {'عنوان 21','lbl21'},
					value = {'معلومة 21','data21'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 22','lbl22'},
					value = {'معلومة 22','data22'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 23','lbl23'},
					value = {'معلومة 23','data23'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 24','lbl24'},
					value = {'معلومة 24','data24'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 25','lbl25'},
					value = {'معلومة 25','data25'},
					--wikidata = {property = 'P'}
				},
         }},
         {type='table', title =  localdata['extra-hdr'] or 'معلومات أخرى'   ,
             rows = {
                person.religion(),
                {
                    type = 'row', label = {'عنوان 31','lbl31'},
					value = {'معلومة 31','data31'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 32','lbl32'},
					value = {'معلومة 32','data32'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 33','lbl33'},
					value = {'معلومة 33','data33'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 34','lbl34'},
					value = {'معلومة 34','data34'},
					--wikidata = {property = 'P'}
				},
                {
                    type = 'row', label = {'عنوان 35','lbl35'},
					value = {'معلومة 35','data35'},
					--wikidata = {property = 'P'}
				},
         }},
}}