Module:mg-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 35: Line 35:
local word = NAMESPACE == "Template" and "mazer" or parent_args.word or PAGENAME
local word = NAMESPACE == "Template" and "mazer" or parent_args.word or PAGENAME
local args = {}
local args = {}
local decl_type
local decl_type = ""


if not m_data[word] then
if not m_data[word] then
Line 50: Line 50:
if NAMESPACE == "Template" then decl_type = "R" end
if NAMESPACE == "Template" then decl_type = "R" end
decl_type, numbers = detect_decl(word, parent_args.c)
if not decl_type then
if not decl_type then