Module:kilta-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
if pos == "adv" then table.insert(data.categories, lang:getCanonicalName() .. " comparative " .. deabb[pos]) end ]=]
if pos == "adv" then table.insert(data.categories, lang:getCanonicalName() .. " comparative " .. deabb[pos]) end ]=]
else
else
pl.label = "plural"
if pl then
if pl then
for _, form in ipairs(pl) do
pl.label = "plural"
table.insert(data.inflections, {term = form})
data.inflections = pl
end
else
else
table.insert(data.inflections, plural(word))
table.insert(data.inflections, plural(word))