ماڈیول:ملعب/Mr. Ibrahem/11

آزاد دائرۃ المعارف، ویکیپیڈیا سے
Documentation icon دستاویز [تخلیق]
local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.s(frame)
	args = frame.args
--	if not frame.args then
--		args = getArgs(frame)
--	else args = frame.args end
	if args[1] and args[1] ~='' 
	then
		--for k, v in pairs( args ) do
		--	if v and v ~='' then
				if string.find(args[1]
					, "[د|ج|ح|خ|ه|ع|غ|ف|ق|ث|ص|ض|ش|س|ي|ب|ل|ا|ت|ن|م|ك|ط|ذ|ئ|ء|ؤ|ر|لا|ى|ة|و|ز|ظ|أ|إ|آ|ـ]")
				then
					 e = 't'
				end
		--	end
	--	end
		
	else
		return ''
	end
	if args[2] and args[2] ~='' then q  = '|'.. args[2] end
	s ='زمرہ:قوالب بمدخلات انجليزية'
	if not e then return '[['..s .. (q or '') .. ']]' end
	
end

return p