Jump to content

Module:Multiple issues

From Tengo Cats, the recursive encyclopaedia by James Lawrie

Documentation for this module may be created at Module:Multiple issues/doc

local p = {}

function p.type(frame)
    local html = frame:preprocess(frame.args[1] or "")

    for _, class in ipairs{"speedy", "delete", "protection", "move", "content", "style", "notice",} do
        if html:find("mbox-"..class, 1, true) then
            return class
        end
    end

    return "content"
end

return p
The permanent import record for this page credits the English Wikipedia (source revision 1367056073). Its contributors are credited under CC BY-SA 4.0. See the attribution record and author history.