Module:mg-noun: Difference between revisions

No change in size ,  12 September 2021
no edit summary
No edit summary
No edit summary
Line 39: Line 39:
local decl_type = parent_args[2] or parent_args["decl"] or detect_decl(word)
local decl_type = parent_args[2] or parent_args["decl"] or detect_decl(word)
if g ~= "m" and g ~= "f" then error("Unknown gender: it must be either ‘i’ or ‘a’") end
if g ~= "m" and g ~= "f" then error("Unknown gender: it must be either ‘m’ or ‘f’") end
if not m_data[word] then
if not m_data[word] then