Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 106: Line 106:
end
end
local cag = {"u", "m", "ine", "ill", "ela", "ade", "all", "abl", "u_sg", "m_sg", "u_pl", "m_pl"}
data.forms.m[1] = args["m"] or data.forms.m[1]
data.forms.m_sg[1] = args["m_sg"] or data.forms.m_sg[1]
for _, infl in ipairs(cag) do
data.forms.u_pl[1] = args["u_pl"] or data.forms.u_pl[1]
data.forms[infl][1] = args[infl] or data.forms[infl][1]
data.forms.m_pl[1] = args["m_pl"] or data.forms.m_pl[1]
end
-- Make the table
-- Make the table