Jump to content

Module:Effective protection level: Difference between revisions

this is really just for wikitext
(fix variable name)
(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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.