From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>MusikBot II at 18:00, 23 November 2021 . The present address (URL) is a permanent link to this version.Revision as of 18:00, 23 November 2021 by imported>MusikBot II (diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation
Jump to search
This module implements Template:Import style, and allows it to be used with an unlimited number of parameters.
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