Module:مالومات/کينډۍ/محبس

د ويکيپېډيا، وړیا پوهنغونډ له خوا

لاسوند لپاره ددې موډيول کېدای سی په Module:مالومات/کينډۍ/محبس/لاسوند کي وي

-- Credits:
-- Developer : Af420@pswiki 
-- Version: 20240225

local generic = require( 'Module:مالومات/ډاټا' )
local building = require( 'Module:مالومات/ډاټا/ودانۍ' )

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'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },

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

            {type = 'row' , label = 'نومونه په نامه د' , 
            	value = {'په نامه د'} , 
            	wikidata = {property = 'P138'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },

            building.dimensions(),
            building.creator(),
            {type = 'row' , label = 'د ځايېدنې وړتیا' , 
                value = {'د ځايېدنې وړتیا','capacity'}, 
                wikidata = {property = 'P1083' , qualifier="P585"
                        , formatting="table", list='bestrank'
                        , rowformat = "$0$R0 $1"
                        , rowsubformat1 = "<small>($1)</small>"
                        }, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            {type = 'row' , label = 'د زندانیانو شمېر' , 
                value = {'د زندانیانو شمېر','population'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
        }},
        {type = 'table' , title ='پته', rows = {
            {type = 'row' , label = 'پته' , 
                value = {'پته'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            {type = 'row' , label = 'ناحيه' , 
                value = {'ناحيه','nahiyah'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            building.adminlocation(),
        }},

		generic.geoloc({default_zoom=6}),
        {type = 'table' , title ='نور مالومات', rows = {
            building.operator(),
            {type = 'row' , label = 'پرانیستل' , 
                value = {'پرانیستل','opened'}, wikidata = {property = 'P1619'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            building.significantEvent(),
            building.replaces(),
            building.replacedby(),

            {type = 'row' , label = 'بندېدل' , 
                value = {'بندېدل','closed'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            {type = 'row' , label = 'بیا سمونه' , 
                value = {'بیا سمونه'}, 
		        metadata = {
					description = "",
					option = "", 
					type = "", 
		        }
            },
            generic.website(),
        }},
       }  -- for parts
} -- for return