Module:Navbar: Difference between revisions
add templatestyles for hlist
Nazarzadeh (talk | contribs) m (1 revision imported) |
(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()) |