Module:List: Difference between revisions

m
1 revision imported
(Replace, module is unused but could be used better for Template:Lua, migrate code from enwiki: [https://en.wikipedia.org/w/index.php?title=Module:List&oldid=612610900])
 
imported>Leoetlino
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
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')
Anonymous user