Module:jugs-cell: Difference between revisions

Wfeozawra (talk | contribs)
No edit summary
Tag: Reverted
Wfeozawra (talk | contribs)
No edit summary
Tag: Manual revert
Line 63: Line 63:
accel = {form = accel_form}
accel = {form = accel_form}
end
end
local words = args[1], "%s*,%s*"
local words = mw.text.split(args[1], "%s*,%s*")
if words then
if words then
for i,j in ipairs(words) do
for i,j in ipairs(words) do
table.insert(out, ({term = j, accel = accel}))
table.insert(out, {term = j, accel = accel})
end
end
end
end