Anonymous user
Module:List: Difference between revisions
From The FunKey Wiki
Tracking categories don't exist on this wiki
(xfer from sandbox per edit request on talk page) |
(Tracking categories don't exist on this wiki) |
||
Line 23:
data.classes = {}
if listType == 'horizontal' or listType == 'horizontal_ordered' then
table.insert(data.classes, 'hlist
elseif listType == 'unbulleted' then
table.insert(data.classes, 'plainlist')
Line 145:
return tostring(root)
end
Line 172 ⟶ 156:
checkType('makeList', 2, args, 'table')
local data = p.makeListData(listType, args)
end
Line 180 ⟶ 162:
p[listType] = function (frame)
local mArguments = require('Module:Arguments')
local origArgs = mArguments.getArgs(frame
-- Copy all the arguments to a new table, for faster indexing.
local args = {}
|