Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 75: Line 75:
local word = NAMESPACE == "Template" and "sivi" or parent_args.word or PAGENAME
local word = NAMESPACE == "Template" and "sivi" or parent_args.word or PAGENAME
local args = {}
local args = {}
local sv = NAMESPACE == "Template" and "i" or parent_args[2] or error("Parameter 2 must be the word's stressed vowel")
local sv = NAMESPACE == "Template" and "i" or parent_args[2]
local decl_type = "i" -- frame.args.decl or detect_decl(sv)
local decl_type = parent_args["decl"] or detect_decl(sv)


if not m_data[word] then
if not m_data[word] then