Module:qay-verb: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 40: Line 40:
if not m_data[word] then
if not m_data[word] then
if frame.args.decl then
decl_type = frame.args.decl
else
if parent_args.c and parent_args[1] then
decl_type = parent_args.c
numbers = {parent_args[1]}
else
decl_type, numbers = export.detect_decl(word, parent_args.c)
end
end
if not decl_type then
-- if not decl_type then decl_type, numbers = "fricative", {root} end
error("Unknown declension '" .. decl_type .. "'")
end
args = require("Module:parameters").process(parent_args, m_data[decl_type].params, true)
args = require("Module:parameters").process(parent_args, m_data[decl_type].params, true)
if numbers then
if numbers then
for i, number in ipairs(numbers) do
for i, number in ipairs(numbers) do

Navigation menu