Content deleted Content added
move that out |
cover up that lurking bug for font_color, more todos |
||
Line 33:
function p._navbar(args)
-- TODO: We probably don't need both fontstyle and fontcolor...
local font_style = args.fontstyle
local font_color = args.fontcolor
Line 46 ⟶ 47:
if not is_plain then is_mini = 1 end
if font_color then
font_style = (font_style or '') .. '; color: ' .. font_color .. ';'
end
end
Line 135 ⟶ 136:
end
-- TODO: Support some limited parameters worth of templatestyles so that
-- these styles can be easily overridden if desired.
return mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = cfg.templatestyles }
|