Difference between revisions of "Module:List"
Jump to navigation
Jump to search
use nil
meta>Frietjes (adjust match) |
meta>Frietjes (use nil) |
||
Line 8: | Line 8: | ||
local function getListItem(data, style, itemStyle, itemValue) | local function getListItem(data, style, itemStyle, itemValue) | ||
if not data then | if not data then | ||
return | return c | ||
end | end | ||
local item = htmlBuilder.create('li') | local item = htmlBuilder.create('li') | ||
Line 70: | Line 70: | ||
if not args['list_style_type'] and not args['list-style-type'] then | if not args['list_style_type'] and not args['list-style-type'] then | ||
args['list_style_type'] = args['type'] | args['list_style_type'] = args['type'] | ||
args['type'] = | args['type'] = nil | ||
end | end | ||
end | end |