Module:List: Difference between revisions

    m>Mr. Stradivarius
    (remove li_style, ul_style and ol_style parameters, allow itemn_style and itemn_value parameters, and add a tracking category for item_stylen and item_valuen parameters)
    m>Jc86035
    m (according to MediaWiki:Mobile.css, this is preferred?)
    Line 23: Line 23:
    data.classes = {}
    data.classes = {}
    if listType == 'horizontal' or listType == 'horizontal_ordered' then
    if listType == 'horizontal' or listType == 'horizontal_ordered' then
    table.insert(data.classes, 'hlist')
    table.insert(data.classes, 'hlist hlist-separated')
    elseif listType == 'unbulleted' then
    elseif listType == 'unbulleted' then
    table.insert(data.classes, 'plainlist')
    table.insert(data.classes, 'plainlist')