มอดูล:Import style

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานมอดูล[ดู] [แก้] [ประวัติ] [ล้างแคช]

มอดูลนี้ทำให้เกิดผลกับ แม่แบบ: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