Module:siwa-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 310570 by Sware (talk))
Tag: Undo
No edit summary
Line 118: Line 118:
for n, kind in ipairs(mw.text.split(args[1], "/")) do
for n, kind in ipairs(mw.text.split(args[1], "/")) do
data.inflections[n] = {nil}
data.inflections[n] = {nil}
data.inflections[n].label = verb_key[kind]
if kind ~= "?" then
if kind ~= "?" then
data.inflections[n].label = verb_key[kind]
table.insert(data.categories, "Siwa " .. verb_key[kind] .. " verbs")
table.insert(data.categories, "Siwa " .. verb_key[kind] .. " verbs")
end
end
Line 136: Line 136:
if args[4] then table.insert(data.categories, "Siwa irregular verbs") end
if args[4] then table.insert(data.categories, "Siwa irregular verbs") end
if args.cat2 then table.insert(data.categories, "Siwa " .. args["cat2"]) end
if args.cat2 then table.insert(data.categories, "Siwa " .. args["cat2"]) end
if args[1] == "?" or args[2] == "?" or args[3] == "?" then table.insert(data.categories, "Contionary stubs") end
data.sort_key = args["sort"] or nil
data.sort_key = args["sort"] or nil

Navigation menu