Difference between revisions of "Module:List"

Jump to navigation Jump to search
16 bytes added ,  11:16, 4 April 2018
m
1 revision imported: Import Template:For docs
m (1 revision imported: Import Infoboxes and Message Boxes)
 
m (1 revision imported: Import Template:For docs)
 
(One intermediate revision by the same user 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')

Navigation menu