Difference between revisions of "Module:Effective protection level"

Jump to navigation Jump to search
this is really just for wikitext
>Mr. Stradivarius
(fix variable name)
>Jackmcbarn
(this is really just for wikitext)
Line 62: Line 62:


setmetatable(p, { __index = function(t, k)
setmetatable(p, { __index = function(t, k)
return function(frameOrPagename)
return function(frame)
if type(frameOrPagename) == 'table' and frameOrPagename.args then
return t._main(k, frame.args[1])
return t._main(k, frameOrPagename.args[1])
else
return t._main(k, frameOrPagename)
end
end
end
end })
end })


return p
return p
Anonymous user

Navigation menu