Anonymous user
Module:List: Difference between revisions
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
list_style = list_style and (' style="' .. list_style .. '"') or ''
return mw.ustring.format(
|