Documentation for this module may be created at Module:Sandbox/DannyS712/afc/doc

local p = {}

function p.checknamespace(frame)
    local t = mw.title.getCurrentTitle()
    ns = t.namespace
    if ns == 118 then 
        return ""
    elseif ns == 2 then
    	return "[[Category:Pending AfC submissions in userspace]]"
    else
    	return "[[Category:Misplaced AfC submissions]]"
    end
end

return p