Module:mg-noun: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 125: Line 125:
local case_short = sub(case, 1, 2)
local case_short = sub(case, 1, 2)
table.insert(ret, '|- \n! ' .. case .. '\n')
table.insert(ret, '|- \n! ' .. case .. '\n')
table.insert(ret, '| ' .. link(show_form(args[case_short .. '_s'] or data.forms[case_short .. '_s'])) .. '\n')
table.insert(ret, '| ' .. link(show_form({args[case_short .. '_s']} or data.forms[case_short .. '_s'])) .. '\n')
if not data.nopl then
if not data.nopl then
table.insert(ret, '| ' .. link(show_form(args[case_short .. '_p'] or data.forms[case_short .. '_p'])) .. '\n')
table.insert(ret, '| ' .. link(show_form({args[case_short .. '_p']} or data.forms[case_short .. '_p'])) .. '\n')
end
end
end
end