Difference between revisions of "Module:List"
Jump to navigation
Jump to search
fix horizontal numbered list style
meta>Mr. Stradivarius (tweak comment at the start) |
meta>Mr. Stradivarius (fix horizontal numbered list style) |
||
Line 56: | Line 56: | ||
local function getStyle(listType, indent, style) | local function getStyle(listType, indent, style) | ||
local styles = {} | local styles = {} | ||
if listType == 'horizontal' then | if listType == 'horizontal' or listType == 'horizontal_numbered' then | ||
indent = indent and tonumber(indent) | indent = indent and tonumber(indent) | ||
indent = tostring((indent and indent * 1.6) or 0) | indent = tostring((indent and indent * 1.6) or 0) |