Module:List: Difference between revisions

16 bytes added ,  3 years ago
m
3 revisions imported from wikipedia:Module:List: see Topic:Vtixlm0q28eo6jtf
m>Jc86035
m (rm for now, could be unexpected behaviour? should wait for WMF to fix regardless)
m (3 revisions imported from wikipedia:Module:List: see Topic:Vtixlm0q28eo6jtf)
 
(8 intermediate revisions by 7 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')