Modul:List: Unterschied zwischen den Versionen
fix horizontal numbered list style
(tweak comment at the start) |
(fix horizontal numbered list style) |
||
| Zeile 56: | Zeile 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) | ||