وحدة:بطاقة/قالب/عتاد عسكري

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

return  {
    maincolor = '#CEDEFF', -- اللون المستعمل لعنوان البطاقة
    wikimod = 'Wikidata.Ca',
    parts = { -- محتويات البطاقة
        generic.title({icon='militaire', style={color='white'}}),
        generic.logo(),
        generic.mainimage(),

        {type = 'table' , title ='معلومات عامة' ,rows = {
        {type = 'row' ,
                label = 'النوع',
                value = {'نوع','type'},
                wikidata = {property='P279'}
        },
        {type = 'row' ,
                label = 'الأصل',
                value = {'أصل','origin'},
                wikidata = {property='P495 OR P17'}
        },
        {type = 'row' , label = 'سميت باسم' , 
                value = {'سميت باسم' ,'named_for'} , 
                wikidata = {property = 'P138'}
        },
   }},
   {type = 'table' , title ='تاريخ الاستعمال' ,rows = {
        {type = 'row' ,
                label = 'في الخدمة',
                value = {'خدمة','service'},
                wikidata = {property='P793'}
        },
        {type = 'row' ,
                label = 'المستعملون',
                value = {'مستعمل','مستعملون','used_by'},
                --wikidata = {property='P'}
        },
        {type = 'row' ,
                label = 'الحروب والنزاعات',
                value = {'حروب','wars'},
                wikidata = {property='P607', conjunction='<br>', showDate='true'}
        },
   }},
   {type = 'table' , title ='تاريخ الإنتاج' ,rows = {
        {type = 'row' ,
                label = 'المصمم',
                value = {'مصمم','designer'},
                wikidata = {property='P170'}
        },
        {type = 'row' ,
                label = 'تاريخ التصميم',
                value = {'تاريخ التصميم','design_date'},
                --wikidata = {property='P'}
        },
        {type = 'row' ,
                label = 'المنتج',
                value = {'منتج','manufacturer'},
                wikidata = {property='P176'}
        },
        {type = 'row' ,
                label = 'السعر',
                value = {'سعر','unit_cost'},
                wikidata = {property='P2284',formatting = "unit"}
        },
        {type = 'row' ,
                label = 'تاريخ الإنتاج',
                value = {'تاريخ الإنتاج','production_date'},
                ----wikidata = {property='P'}
        },
        {type = 'row' ,
                label = 'الكمية المنتجة',
                value = {'كمية','number'},
                --wikidata = {property='P'},
        },
        {type = 'row' ,
                label = 'الأنواع',
                value = {'أنواع','variants'},
                --wikidata = {property='P'}
        },
   }},
   {type = 'table' , title ='المواصفات' ,rows = {
        {type = 'row' ,
                label = 'الوزن',
                value = {'وزن','weight'},
                wikidata = {property='P2067',formatting = "unit"}
        },
        {type = 'row' ,
                label = 'الطول',
                value = {'طول','length'},
                wikidata = {property="P2043",formatting = "unit"}
        },
        {type = 'row' ,
                label = 'العرض',
                value = {'عرض','width'},
                wikidata = {property = "P2049",formatting = "unit"}
        },
        {type = 'row' ,
                label = 'الارتفاع',
                value = {'ارتفاع','height'},
                wikidata = {property="P2048",formatting = "unit"}
        },
        {type = 'row' ,
                label = 'القطر',
                value = {'قطر','diameter'},
                wikidata = {property='P2386',formatting = "unit"}
        },
        }}
 }
}