Difference between revisions of "Module:List"

Jump to navigation Jump to search
2 bytes added ,  12:14, 14 November 2013
change the "type" parameter to the slightly less generic "marker"
meta>Mr. Stradivarius
(add list_style_type synonym for list-style-type)
meta>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

Navigation menu