Modul:Navbox: Unterschied zwischen den Versionen
per tper
(per request on talk page) |
(per tper) |
||
Zeile 354: | Zeile 354: | ||
if args.title and (args.state ~= 'plain' and args.state ~= 'off') then | if args.title and (args.state ~= 'plain' and args.state ~= 'off') then | ||
if args.state == 'collapsed' then args.state = 'mw-collapsed' end | |||
tbl | tbl | ||
:addClass('collapsible') | :addClass('mw-collapsible') | ||
:addClass(args.state or 'autocollapse') | :addClass(args.state or 'autocollapse') | ||
end | end |