Изменения
+ "navbox-allow-mobile" for simple navboxes without styles and less than 6 groups
:wikitext('<div>') -- XXX: hack due to lack of unclosed support in mw.html.
:wikitext('<div>') -- XXX: hack due to lack of unclosed support in mw.html.
else
else
res
local tableTag = res:tag('table')
tableTag:addClass('navbox')
:css('border-spacing', 0)
:css('border-spacing', 0)
:cssText(bodystyle)
:cssText(bodystyle)
:css('padding', '2px')
:css('padding', '2px')
:node(tbl)
:node(tbl)
if ( not titlestyle and not groupstyle and not bodystyle and not basestyle and not style
and not liststyle and not oddstyle and not evenstyle and not abovestyle and not belowstyle
and not args["group6"] and not args["group7"] and not args["group8"] and not args["group9"] ) then
tableTag:addClass( 'navbox-allow-mobile' );
end
end
end