Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Documentation for this module may be created at Module:Template style/doc

local p = {}

function p.main(frame)
	local css = frame:getParent().args[1]
	local hash = mw.hash.hashValue("xxh3", css)
	local v = "TemplateStyleApplied-" .. hash
	local check = frame:callParserFunction("#var", v, "0")
	if check == "0" then
		frame:callParserFunction("#css", css)
		frame:callParserFunction("#vardefine", v, "1")
	end
end

return p