Module:List: Difference between revisions
Jump to navigation
Jump to search
m>Frietjes optional item_valueX for Brigadoon (The Ancestors album) |
m>Frietjes test fix for technically invalid parameters being passed to type by moving them (if possible) to list_style_type |
||
Line 66: | Line 66: | ||
indent = tostring((indent and indent * 1.6) or 0) | indent = tostring((indent and indent * 1.6) or 0) | ||
root.css('margin-left', indent .. 'em') | root.css('margin-left', indent .. 'em') | ||
end | |||
if args['type'] and not args['type']:match('[1AaIi]') then | |||
if not args['list_style_type'] and not args['list-style-type'] then | |||
args['list_style_type'] = args['type'] | |||
args['type'] = '' | |||
end | |||
end | end | ||
root.cssText(args.style) | root.cssText(args.style) |