Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 142: Line 142:
local kinds = {}
local kinds = {}
if match(args.head, "/") then
--[[if match(args.head, "/") then
kinds = mw.text.split(args[1], "/")
kinds =  
else
else
table.insert(kinds, args[1])
table.insert(kinds, args[1])
end
end]]
for n, kind in ipairs(kinds) 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]
data.inflections[n].label = verb_key[kind]