Module:List: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(change the "type" parameter to the slightly less generic "marker")
(Undid revision 581617993 by Mr. Stradivarius (talk) actually, this is no longer necessary due to changes in Module:Random)
Line 67: Line 67:
list
list
.attr('start', args.start)
.attr('start', args.start)
.attr('type', args.marker)
.attr('type', args.type)
.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.