انتقل إلى المحتوى

وحدة:بطاقة/قالب/برمجية

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

-- Credits:
-- Adapted by وهراني @arwiki (ar:وحدة:بطاقة/قالب/برمجية)
-- Version: 20240718

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

return {
    description = "بطاقة تحمل البيانات المهمة حول برمجية", 
    maincolor = "#F0B020",
    wikimod = "Wikidata.Ca",
    parts = {
        general.title({icon = "software"}),
        {
            description = "الاسم الرمزي", 
            type = "subtitle",
            value = {"اسم رمزي", "الاسم الرمزي","codename"},
            wikidata = {
                property = "P1638",
                formatting = "$text {{Language icon|NoCat=y|$language}}"
            }
        },
        general.logo(),
        general.mainimage(
            {
                imageparameters = {"لقطة", "لقطة شاشة", "screenshot"}
            }
        ),
        {
            type = "table",
            title = "معلومات عامة",
            rows = {
                {
                    type = "row",
                    label = "[[قائمة تصنيفات البرمجيات|نوع]]",
                    value = {"نوع", "genre", "النوعية"},
                    wikidata = {
                        property = "P31",
                        list = "bestrank",
                        formatting = "table",
                        rowformat = "$0$R0 $1", conjunction="<br />",
                        qualifier1 = "P642",
                        rowsubformat1 = "<small>($1)</small>",
                        blacklist0 = "Q166142/Q341/Q7397/Q218616/Q506883/Q1130645/Q17828"
                    },
                    metadata = {
                        description = "نوع البرنامج، يمكن أن يكون وصلة ويكي، مثل محادثة فورية.",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "الشعار النصي",
                    value = {"شعار_نصي","شعار نصي", "motto_text"},
                    wikidata = {
                        property = "P1451",
                        conjunction = "<br />",
                        formatting = "$text {{Language icon|NoCat=y|$language}}"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "سمي باسم",
                    value = {"سمي_باسم", "named_after"},
                    property = "P138",
                    metadata = {
                        description = "نسبة تسمية البرمجية", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[نظام تشغيل|نظام التشغيل]]",
                    value = {"نظام_التشغيل", "operating system"},
                    wikidata = {
                        property = "P306", qualifier1="P348", 
                        formatting="table", rowformat="$0$R0$1", rowsubformat1=" ($1)",
                        listrank = "bestrank", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "نظام التشغيل. لشبيه يونكس، استخدم: أي [[شبيه يونكس]] ", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "بداية التسويق",
                    value = {"تسويق", "commercialization"},
                    wikidata = {
                        property = "P5204", 
                        list = "bestrank", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "بداية تسويق المنتج",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[منصة حاسوب|المنصة]]",
                    value = {"منصة", "المنصة", "platform", "supported_platforms"},
                    wikidata = {
                        property = "P400"
                    },
                    metadata = {
                        description = "المنصة (جافا، .نت..). لمتعدد المنصات استخدم: [[متعدد المنصات]].", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "حالة الدعم",
                    value = {"حالة الدعم", "support_status"},
                    --, property = 'P?',
                    metadata = {
                        description = "يجب أن تكون واحدة من: مخطط له، نشط، غير نشط، متوقف، غير متوفر", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "توقف الدعم",
                    value = {"توقف الدعم", "discontinued_support"},
                    property = "P2669",
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "النموذج المصدري",
                    value = {"النموذج المصدري", "source_model"},
                    property = "P6216",
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "متوفر بلغات",
                    value = {"لغات", "language"},
                    wikidata = {
                        property = "P407", 
                        listrank = "bestrank"
                    },
                    metadata = {
                        description = "اللغات المدعومة (عربية، إنجليزية..). ", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[تصميم البرمجيات|المطور الأصلي]]",
                    value = {"مؤلف", "المؤلف","author"},
                    wikidata = {
                        property = "P170 OR P112", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "اسم مؤلف البرنامج الأصلي", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[مطور برمجيات|المطورون]]",
                    value = {"مطور", "المطور", "developer"},
                    wikidata = {
                        property = "P178", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "المطور الحالي للبرنامج", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "المبرمج",
                    value = {"مبرمج","programmer"},
                    wikidata = {
                        property = "P943", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "المبرمج الرئيسي", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "المصمم",
                    value = {"مصمم","designer"},
                    wikidata = {
                        property = "P287", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                general.awards(),
                general.blog(),
                general.website(
                    {
                        value = {"موقع_المطور", "موقع ويب", "موقع_ويب", "موقع", "url", "website"}
                    }
                )
            }
        },
        {
            description = "معلومات تقنية", 
            type = "table",
            title = "معلومات تقنية",
            rows = {
                { 
                    type = "row",
                    label = "العائلة",
                    value = {"عائلة", "العائلة", "family"},
                    wikidata = {
                        property = "P179"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "[[نواة (نظم تشغيل)|نمط النواة]]",
                    value = {"نمط النواة", "kernel_type"},
                    --, property = 'P?',
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "[[واجهة مستخدم رسومية|واجهة المستخدم الرسومية]]",
                    value = {"واجهة المستخدم"},
                    --, property = 'P?',
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "[[محرك برمجي|المحرك البرمجي]]",
                    value = {"محرك برمجي", "engine"},
                    wikidata = {
                        property = "P408"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[برمجيات وسيطة]]",
                    value = {"برمجيات وسيطة", "middleware"},
                    --property = 'P',
                    metadata = {
                        description = "البرمجيات الوسيطة (middleware) التي ترتكز عليها",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[حجم ملف|الحجم]]",
                    value = {"حجم", "size"},
                    wikidata = {
                        property = "P3575",
                        qualifier = "P400 OR P306",
                        formatting = "table",
                        rowformat = "$0 $1 $R0",
                        rowsubformat1 = "<small><br>($1)</small>",
                        colformat0 = "unitcode"
                    },
                    metadata = {
                        description = "حجم البرنامج بالميغابايت. ", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "طريقة التحديث",
                    value = {"نموذج التحديث", "updatemodel"},
                    wikidata = {
                        property = "P4387"
                    },
                    metadata = {
                        description = "طريقة تحديث البرمجية", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[نظام إدارة الحزم]]",
                    value = {"مدير الحزم", "نظام إدارة الحزم", "package_manager"},
                    wikidata = {
                        property = "P3033"
                    },
                    metadata = {
                        description = "نظام إدارة الحزم المستعمل لتثبيت البرمجية", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "ضمان الجودة",
                    value = {"ضمان", "assurance"},
                    wikidata = {
                        property = "P2992"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "أدوات الواجهة أو إطار العمل",
                    value = {"أدوات الواجهة", "إطار العمل", "GUI toolkit", "framework"},
                    wikidata = {
                        property = "P1414"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "نمط البرمجة",
                    value = {"نمط_البرمجة", "paradigm"},
                    wikidata = {
                        property = "P3966"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[لغة برمجة|لغة البرمجة]]",
                    value = {"لغة", "لغة البرمجة", "programming language", "programmed_in"},
                    wikidata = {
                        property = "P277", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "لغة البرمجة المستعملة في التطوير", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[لغة برمجة|لغات البرمجة المدعومة]]",
                    value = { "لغة_البرمجة_المدعومة", "supported_programming_language"},
                    wikidata = {
                        property = "P3985", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "لغة البرمجة التي تدعمها البرمجية", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "تطبيق ل",
                    value = {"تطبيق ل","implementation_of"},
                    wikidata = {
                        property = "P4428"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    valueClass = "url",
                    label = "[[توثيق البرمجيات|التوثيق]]",
                    value = {"توثيق", "documentation"},
                    wikidata = {
                        property = "P2078", 
                        formatting = "weblink", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "حالة العمل",
                    value = {"حالة العمل", "working_state"},
                    --, property = 'P?',
                    metadata = {
                        description = "يجب أن تكون واحدة من: مخطط، نشط، غير نشط.", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "حالة التطوير",
                    value = {"حالة", "status", "الحالة"},
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[مراحل إصدار البرمجيات|الإصدار الأول]]",
                    value = {"إصدار", "أول إصدار", "الإصدار", "release", "released"},
                    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 = "تاريخ الإصدار 1،0 (أو الإصدار الموافق له). للإصدارات السابقة أو اللاحقة، استخدم المدخلات الأخرى.", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[مراحل إصدار البرمجيات|الإصدار التجريبي]]",
                    value = { "آخر إصدار تجريبي","latest_preview_version", "latest preview version"},
                    wikidata = {
                        list = "bestrank",
                        formatting = "table",
                        property = "P348",
                        qualifier = "P548",
                        qualifier2 = "P577",
                        qualifier3 = "P400 OR P306",
                        rowformat = "* $3 '''$0''' $2 $R0",
                        rowsubformat2 = "<small><br>($2)</small>",
                        rowsubformat3 = "<small>$3:</small>",
                        --, colformat3 = 'label'
                        whitelist1 = "Q3295609/Q2122918/Q1072356/Q51930650"
                    },
                    metadata = {
                        description = "آخر إصدار تجريبي", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[مراحل إصدار البرمجيات|الإصدار الأخير]]",
                    value = {"آخر إصدار","latest release 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 = "", 
                    }
                },
                {
                    type = "row",
                    valueClass = "url",
                    label = "[[مستودع برمجيات|المستودع]]",
                    value = {"مستودع", "repository", "repo"},
                    wikidata = {
                        property = "P1324",
                        list = "bestrank",
                        formatting = "weblink",
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "موقع حزمة البرنامج.", 
                        option = "", 
                        type = "", 
                    }
                },
                {
                    type = "row",
                    label = "[[رخصة البرمجيات|الرخصة]]",
                    value = {"رخصة", "license", "الترخيص"},
                    wikidata = {
                        list = 0, 
                        property = "P275", conjunction = "<br />", showDate = "true"
                    },
                    metadata = {
                        description = "الترخيص مثل احتكاري, [[رخصة جنو العمومية]].", 
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "[[معيار|المعايير]]",
                    value = {"معيار","standard"},
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "[[امتداد الملف]]",
                    value = {
                        "امتداد الملف",
                        "File extensions",
                        "file extensions",
                        "file ext"
                    },
                    wikidata = {
                        property = "P1195", 
                        conjunction = "*"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "الملفات المقروءة",
                    value = {"ملفات مقروءة", "readable_file_format"},
                    wikidata = {
                        property = "P1072", 
                        conjunction = "*"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "الملفات المنتجة",
                    value = {"ملفات منتجة", "writable_file_format"},
                    wikidata = {
                        property = "P1073", 
                        conjunction = "*"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                }
            }
        },
        {
            type = "table",
            title = "التسلسل",
            rows = {
                { 
                    type = "row",
                    label = "مأخوذ عن",
                    value = {"أصل", "based_on"},
                    wikidata = {
                        property = "P144"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "اشتقاقات",
                    value = {"اشتقاقات", "derivative_work"},
                    wikidata = {
                        property = "P4969"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "row",
                    label = "تأثر بـ",
                    value = {"تأثر", "influenced by", "influenced_by"},
                    wikidata = {
                        property = "P737", 
                        conjunction = "<br />"
                    },
                    metadata = {
                        description = "",
                        option = "", 
                        type = "", 
                    }
                },
                { 
                    type = "navbox",
                    inner = true,
                    previousparameter = {"سبقه", "replaces"},
                    previousproperty = "P155",
                    nextparameter = {"تبعه", "replaced_by"},
                    nextproperty = "P156"
                }
            }
        }
    }
}