Module:kilta-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 46: Line 46:
local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},}
local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},}
local w = split(word, " ")
local w = split(word, "%s")
if pl[1] == '-' then
if pl[1] == '-' then
Line 61: Line 61:
table.insert(data.inflections, pl)
table.insert(data.inflections, pl)
else
else
table.insert(data.inflections, plural(w[args.n]))
table.insert(data.inflections, plural(w[1]))
end
end
end
end

Navigation menu