Module:Navbar: Difference between revisions

add templatestyles for hlist
m (1 revision imported)
(add templatestyles for hlist)
Line 151: Line 151:
end
end
return mw.getCurrentFrame():extensionTag{
local frame = mw.getCurrentFrame()
-- hlist -> navbar is best-effort to preserve old Common.css ordering.
return frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
} .. frame:extensionTag{
name = 'templatestyles', args = { src = cfg.templatestyles }
name = 'templatestyles', args = { src = cfg.templatestyles }
} .. tostring(div:done())
} .. tostring(div:done())
Anonymous user