Module:List: Difference between revisions

add ol_style as a possible parameter for backwards compatibility with {{ordered list}}
Enwikipedia>Mr. Stradivarius
(replace "numbered" with "ordered")
Enwikipedia>Mr. Stradivarius
(add ol_style as a possible parameter for backwards compatibility with {{ordered list}})
Line 103:
local class = getClass(listType, args.class) or ''
local style = getStyle(listType, args.indent, args.style) or ''
local list_style = args.list_style or args.ul_style or args.ol_style -- ul_style isand ol_style are included for backwards compatibility,. andNo willdistinction workis evenmade withfor ordered or unordered lists.
list_style = list_style and (' style="' .. list_style .. '"') or ''
return mw.ustring.format(