Difference between revisions of "Module:Navbar"
add templatestyles for hlist
m (1 revision imported: Content from Template:Reflist on Wikipedia) |
(add templatestyles for hlist) |
||
Line 151: | Line 151: | ||
end | end | ||
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()) |