FANDOM


local p = {}
 
function p.main(frame)
	local args = frame:getParent().args
	local title = args[1]
	local _t = mw.title.new(title)
 
	if not _t.exists then
		return tostring(string.format('No such page as %s.',title))
	end
	local _tsplit = mw.text.split(_t:getContent(),'\n')
 
	return #_tsplit
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.