[go: up one dir, main page]

Jump to content

Module:Import style

Permanently protected module
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by MusikBot II (talk | contribs) at 18:00, 23 November 2021 (Protected "Module:Import style": High-risk template or module: 11434 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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