Modul:Navbox: Unterschied zwischen den Versionen

Not needed; we deleted this tracking category because it wasn't being used
(Manually force in order parsing of key fields)
(Not needed; we deleted this tracking category because it wasn't being used)
Zeile 273: Zeile 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
Zeile 289: Zeile 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


Anonymer Benutzer