Module:Template style
From dos2.wiki
More actions
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