Jump to content

Module:Navbar: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 107: Line 107:
end
end
end
end
font_style = (font_style or '') .. ';text-decoration:inherit;'
local navbar_style = args.style
local navbar_style = args.style
Line 152: 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())