Module:List: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add ol_style as a possible parameter for backwards compatibility with {{ordered list}}
(replace "numbered" with "ordered")
(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(
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu