Module:ListUtils: Difference between revisions

No edit summary
No edit summary
Line 114: Line 114:
     return catsAndPropsFromList(list, property, catNs)
     return catsAndPropsFromList(list, property, catNs)
end
end
-- Backwards-compatible wrapper specifically for verticals
function p.verticalCatsAndProps(frame)
    local list = frame.args[1] or frame.args.list or ''
    return catsAndPropsFromList(list, 'HasVertical', 'Category')
end
return p