وحدة:بطاقة/قالب/معيار تقانة

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

return  {
    description = "قالب بطاقة لبيانات معيار لتقانة"
    ,maincolor = '#CEDEFF' -- اللون المستعمل لعنوان البطاقة
    ,wikimod = 'Wikidata.Ca'
    ,parts = { -- محتويات البطاقة
        generic.title(),
        generic.logo(),
        generic.mainimage(),
        generic.scheme(),

        {type = 'table' , title ='معلومات عامة' ,rows = {
        {type = 'row' 
                , label = 'الاختصار'
                , value = {'اختصار','abbreviation'}
                , wikidata = {property='P1813',list="notlang",conjunction = "<br />"
					, listrank='bestrank',formatting = '$text {{Language icon|NoCat=y|$language}}'}
		        , metadata = {
					description = "", 
					option = "", 
					type = "string", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'الاسم الأصلي'
                , value = {'اسم_أصلي','native_name'}
                , wikidata = {property='P1705',list="notlang",conjunction = "<br />"
					, listrank='bestrank',formatting = '$text {{Language icon|NoCat=y|$language}}'}
		        , metadata = {
					description = "الاسم المحلي - يجب إضافة اللغة", 
					option = "", 
					type = "string", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'الوضعية'
                , value = {'وضعية','status'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "الوضعية الحالية للمعيار", 
					option = "", 
					type = "string", 
					suggestedvalues = {"منشور","مسودة","مسحوب","مؤرشف","توصية","منسحب","نشيط","موافقة","ملغى","كامل"},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'سنة البدء'
                , value = {'سنة_البدء','year_started'}
                , wikidata = {property='P580'}
		        , metadata = {
					description = "أول سنة لظهور المعيار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = "{{تاريخ بداية|سنة|شهر|يوم|df=y}}"
		        }
        },
        {type = 'row' 
                , label = 'أول إصدار'
                , value = {'أول_إصدار','first_published'}
                , wikidata = {
                        formatting = "table",
                        property = "P571 OR P577",
                        qualifier = "P291",
                        qualifier2 = "P400",
                        rowformat = "$2 $0 $1 $R0",
                        rowsubformat1 = "($1)",
                        rowsubformat2 = "'''$2:'''",
                        tablesort = 0,
                        list = "bestrank"
                    }
		        , metadata = {
					description = "تاريخ أول إصدار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = "{{تاريخ بداية|سنة|شهر|يوم|df=y}}"
		        }
        },
        {type = 'row' 
                , label = 'آخر إصدار'
                , value = {'آخر_إصدار','version'}
                , wikidata = {
                        property = "P348",
                        qualifier = "P548",
                        qualifier2 = "P577",
                        qualifier3 = "P400 OR P306",
                        list = "bestrank",
                        formatting = "table",
                        tablesort = "2", sorting = "-1",
                        rowformat = "* $3 '''$0''' $2 $R0",
                        rowsubformat2 = "<small><br>($2)</small>",
                        rowsubformat3 = "<small>$3:</small>",
                        --, colformat3 = "label"
                        blacklist1 = "Q3295609/Q2122918/Q1072356/Q51930650"
                    }
		        , metadata = {
					description = "تاريخ آخر إصدار", 
					option = "", 
					type = "date", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'إصدار مرتقب'
                , value = {'إصدار_مرتقب','preview'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "إصدار مرتقب من المعيار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'المنظمة'
                , value = {'منظمة','organization'}
                , wikidata = {property='P1462'}
		        , metadata = {
					description = "المنظمة الناشرة للمعيار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'اللجنة'
                , value = {'لجنة','committee'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "اللجنة المشرفة على مسودة المعيار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'السلاسل'
                , value = {'سلاسل','series'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "عائلة المعايير التي تنتمي إليها المستندات", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'الناشر'
                , value = {'ناشر','editors'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'المؤلف'
                , value = {'مؤلف','authors'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'المطور'
                , value = {'مطور','developer'}
                , wikidata = {property='P178'}
		        , metadata = {
					description = "", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'المعايير الأساسية'
                , value = {'معايير_أساسية','base_standards'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "المعايير التي بني عليها هذا المعيار.", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'معايير ذات علاقة'
                , value = {'معايير_ذات_علاقة','related_standards'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'المجال'
                , value = {'مجال','domain'}
                , wikidata = {property='P921 OR P366'}
		        , metadata = {
					description = "الموضوع والحقل الذي يغطيه هذا المعيار", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'الرخصة'
                , value = {'رخصة','license'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "الرخصة التي تحمي هذا المعيار.", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        {type = 'row' 
                , label = 'حقوق المؤلف'
                , value = {'حقوق_المؤلف','copyright'}
                --, wikidata = {property='P'}
		        , metadata = {
					description = "وضعية حقوق المؤلف لهذا المعيار.", 
					option = "", 
					type = "", 
					suggestedvalues = {},
					autovalue = ""
		        }
        },
        generic.website(),
        }}
 }
}