Jump to content

Module:Multiple issues

From Tilcayo Cats, the lean encyclopaedia by Tilcayo Knowledge Systems

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
This page contains text imported from the English Wikipedia (source revision 1367056073). Its authors are credited under CC BY-SA 4.0: see the attribution record.