Module:Multiple issues

enwiki>MusikBot II2026年7月31日 (五) 18:00的版本 (Protected "Module:Multiple issues": High-risk template or module: 7644 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

此模块的文档可以在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