বিষয়বস্তুতে চলুন

মডিউল:কর্তৃপক্ষ নিয়ন্ত্রণ নথি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
মডিউল নথি[তৈরি করুন]
local p = {}

function p.files(frame)
	local nav  = require( 'মডিউল:Navbox' )
	local conf = require( 'মডিউল:কর্তৃপক্ষ নিয়ন্ত্রণ/খেলাঘর' ).conf
	local exclude = {
		['MBAREA'] = 'redundant [[মিউজিকব্রেইন্‌জ]] link',
		['MBI'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',
		['MBL'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',	
		['MBP'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',	
		['MBRG'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',
		['MBS'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',
		['MBW'] = 'redundant [[মিউজিকব্রেইন্‌জজ]] link',
	}
	
	local elements = {}
	for _, c in pairs( conf ) do
		if exclude[c[1]] == nil then
			table.insert( elements, c[2] )
		end
	end
	
	return nav._navbox( {
			name        = 'কর্তৃপক্ষ নিয়ন্ত্রণ নথি',
			navboxclass = 'authority-control-files',
			title       = '[[কর্তৃপক্ষ নিয়ন্ত্রণ|কর্তৃপক্ষ নিয়ন্ত্রণ নথি]]',
			bodyclass   = 'hlist',
			state       = 'collapsed',
			list1       = table.concat( elements, ' • ' )
			} )
end

return p