Module:List: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(tweak comment at the start) |
(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) |