Open main menu

Changes

Module:List

47 bytes added, 06:22, 14 November 2013
add ol_style as a possible parameter for backwards compatibility with {{ordered list}}
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 is and ol_style are included for backwards compatibility, and will work even with . No distinction is made for ordered or unordered lists.
list_style = list_style and (' style="' .. list_style .. '"') or ''
return mw.ustring.format(
Anonymous user