Module:Navbox: Difference between revisions

From Test Wiki
Content deleted Content added
Revert my fix; causes unwanted linebreaks that triggers <p>s. Needs a different solution.
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