Module:LimitRoleInput

local p = {}

function p.main local input = mw.getCurrentFrame.args[1] local input = "asdf" mw.logObject(input) if not input then mw.log("empty") return elseif input:lower:find("main") then mw.log("Main") return "Main" elseif input:lower:find("side") then mw.log("Side") return "Side" elseif input:lower:find("minor") then mw.log("Minor") return "Minor" else mw.log("invalid input") return "Valid Inputs are \"Main\", \"Side\" and \"Minor\". See Help:Guidelines." end return end return p