Module:List: Difference between revisions

change the "type" parameter to the slightly less generic "marker"
m>Mr. Stradivarius
(add list_style_type synonym for list-style-type)
m>Mr. Stradivarius
(change the "type" parameter to the slightly less generic "marker")
Line 67: Line 67:
list
list
.attr('start', args.start)
.attr('start', args.start)
.attr('type', args.type)
.attr('type', args.marker)
.css('list-style-type', args.list_style_type or args['list-style-type'])
.css('list-style-type', args.list_style_type or args['list-style-type'])
.cssText(args.list_style or args.ul_style or args.ol_style) -- ul_style and ol_style are included for backwards compatibility. No distinction is made for ordered or unordered lists.
.cssText(args.list_style or args.ul_style or args.ol_style) -- ul_style and ol_style are included for backwards compatibility. No distinction is made for ordered or unordered lists.
Anonymous user