Module:Navbox: Difference between revisions

per edit request at template talk
m>Edokter
(Revert my fix; causes unwanted linebreaks that triggers <p>s. Needs a different solution.)
m>De728631
(per edit request at template talk)
Line 280: Line 280:
     if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end
     if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end
      
      
     local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist vcard', 'vcard hlist'}
     local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist hwrap', 'hlist vcard', 'vcard hlist'}
     for i, cls in ipairs(listClasses) do
     for i, cls in ipairs(listClasses) do
         if args.listclass == cls or args.bodyclass == cls then
         if args.listclass == cls or args.bodyclass == cls then
Anonymous user