Jump to content

Module:Navbox: Difference between revisions

367 bytes removed ,  11 years ago
Not needed; we deleted this tracking category because it wasn't being used
m>Dragons flight
(Manually force in order parsing of key fields)
m>Nyttend
(Not needed; we deleted this tracking category because it wasn't being used)
Line 273: Line 273:
     local cats = {}
     local cats = {}
     if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
     if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
    if hasCustomListSpacing() then table.insert(cats, 'Navigational boxes with custom list spacing') end
     if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
     if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
     return cats
     return cats
Line 289: Line 288:


     return true
     return true
end
function hasCustomListSpacing()
    return args.liststyle == 'padding: 0.25em 0; line-height: 1.3em;' or
          args.liststyle == 'padding:0.25em 0; line-height:1.4em; width:auto;' or
          args.liststyle == 'padding:0.4em 0; line-height:1.4em;'
end
end


Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.