Difference between revisions of "Module:Navbar"

188 bytes added ,  18:20, 29 December 2022
add templatestyles for hlist
m (1 revision imported: Content from Template:Reflist on Wikipedia)
(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