45,640
edits
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
if frame.args["older"] then | if frame.args["older"] then | ||
params[1] = {}; params[ | params[1] = {}; params[2] = {list = true}; local a = 2 | ||
else | else | ||
params[ | params[1] = {list = true}; local a = 1 | ||
end | end | ||
Line 39: | Line 39: | ||
local links = {}; local categories = {}; local alts = {}; | local links = {}; local categories = {}; local alts = {}; | ||
-- WIP | -- WIP | ||
for i, item in ipairs(args[ | for i, item in ipairs(args[a]) do | ||
if item == "+" then | if item == "+" then | ||
table.insert(links," ") | table.insert(links," ") | ||
Line 75: | Line 75: | ||
end | end | ||
else | else | ||
table.insert(links, link(args[ | table.insert(links, link(args[a][i])) | ||
table.insert(categories, lang:getCanonicalName() .. " terms from Wascotl *" .. args[ | table.insert(categories, lang:getCanonicalName() .. " terms from Wascotl *" .. args[a][i]) | ||
table.insert(alts, args[ | table.insert(alts, args[a][i]) | ||
end | end | ||