跳转到内容

模組:Import style

维基百科,自由的百科全书
文档图示 模块文档[创建]
local p = {}

function p.main()
    out = ''
    for _, style in ipairs(mw.getCurrentFrame():getParent().args) do
        out = out .. mw.getCurrentFrame():extensionTag(
            'templatestyles',
            '',
            {
                src = 'Import style/' .. style .. '.css'
            }
        )
    end
    return out
end

return p