وحدة:بطاقة/قالب/مؤسسة عقابية

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

هذه هي النسخة الحالية من هذه الصفحة، وقام بتعديلها عبود السكاف (نقاش | مساهمات) في 23:11، 23 يناير 2023. العنوان الحالي (URL) هو وصلة دائمة لهذه النسخة.

(فرق) → نسخة أقدم | نسخة حالية (فرق) | نسخة أحدث ← (فرق)
اذهب إلى التنقل اذهب إلى البحث

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

return  {
    maincolor = '#A7D4E7',
    wikimod = 'Wikidata.Ca',
    parts = {
        generic.title(),
        {type = 'subtitle', value = {'اسم اصلي','الاسم الأصلي','native_name'}, 
				wikidata= {property = 'P1476', list = 2, conjunction = "<br />"
					,formatting = '$text {{Language icon|NoCat=y|$language}}'}},
        generic.logo(),
        generic.mainimage(),



        {type = 'table' , title ='المنشأة', rows = {
                {type = 'row' , label = 'النوع'
				, value = {'نوع','type'}
				, wikidata = {property = 'P31'}},

                building.archistyle(),
                building.creator(),
                building.part_of(),

                {type = 'row' , label = 'سميت باسم' 
                	, value = {'سميت'} , wikidata = {property = 'P138'}},

                building.dimensions(),
                {type = 'row' , label = 'المعماري' , 
                        value = {'معماري','architect'}, wikidata = {property = 'P84'}
                },
                {type = 'row' , label = 'طاقة الاستيعابية' , 
                        value = {'سعة','capacity'}
                     , wikidata = {property = 'P1083' , qualifier="P585"
                                , formatting="table", list='bestrank'
                                , rowformat = "$0$R0 $1"
                                , rowsubformat1 = "<small>($1)</small>"
                                }
                },
                {type = 'row' , label = 'عدد النزلاء' , 
                        value = {'نزلاء','population'}
                },
                building.significantEvent(),
                building.replaces(),
                building.replacedby(),
        }},
        {type = 'table' , title ='الموقع', rows = {
                {type = 'row' , label = 'المكان' , 
                        value = {'مكان'}
                },
                {type = 'row' , label = 'الناحية' , 
                        value = {'ناحية','nahiyah'}, 
                },
                building.adminlocation(),
        }},

		generic.geoloc({default_zoom=6}),
        {type = 'table' , title ='الاستغلال', rows = {
                building.operator(),
                {type = 'row' , label = 'الافتتاح' , 
                        value = {'افتتاح','opened'}, wikidata = {property = 'P1619'}
                },
                {type = 'row' , label = 'الغلق' , 
                        value = {'غلق','closed'}
                },
                {type = 'row' , label = 'تحول إلى' , 
                        value = {'تحويل'}
                },
                generic.website(),
        }},
       }  -- for parts
} -- for return