{{i}} Документація модуля[створити]
local p = {}

function p.main(frame)
	local getArgs = require('Модуль:Arguments').getArgs
	local args = getArgs(frame)
	if not args[1] then return '' end 
	                                  
	local title = mw.title.new(args[1])
	local surnameDisambig = ''
	if title.exists then
		local fullContent = title:getContent()
		surnameDisambig =
			  mw.ustring.match(fullContent, '\{\{[щЩ]е є імена')
			or mw.ustring.match(fullContent, '\{\{[dD]isambig[nN]')
			or mw.ustring.match(fullContent, '\{\{[dD]isambig[fF]')
			or mw.ustring.match(fullContent, '\{\{[сС]писок однофамільців')
			or mw.ustring.match(fullContent, '\{\{[цЦ]е список[^}]*тезок')
			or mw.ustring.match(fullContent, '\{\{[dD]isambigName')
			or mw.ustring.match(fullContent, '\{\{[dD]isambigNm')
			or mw.ustring.match(fullContent, '\{\{[sS]urname')
			or mw.ustring.match(fullContent, '\{\{[bB]io-dab')
			or mw.ustring.match(fullContent, '\{\{[hH]ndab')
			or mw.ustring.match(fullContent, '\{\{[hH]n[dD]is')
			or mw.ustring.match(fullContent, '\{\{[pP]ersonal name disambiguation')
			or mw.ustring.match(fullContent, '\{\{[hH]uman name disambiguation')
			or mw.ustring.match(fullContent, '\{\{[hH]NDIS')
			or mw.ustring.match(fullContent, '\{\{[hH]ndisambig')
	end
	return surnameDisambig
end

return p