Module:qhv-adj: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 132: Line 132:
local g_short = sub(gender, 1, 1)
local g_short = sub(gender, 1, 1)
for _, number in ipairs({"sg", "pl"}) do
for _, number in ipairs({"sg", "pl"}) do
table.insert(ret, "| style=\"width: 3em\" | " .. link(show_form(data.forms[(pre and "" or "post_") .. case_short .. "_" .. g_short .. "_" .. number])) .. "\n")
table.insert(ret, "| " .. link(show_form(data.forms[(pre and "" or "post_") .. case_short .. "_" .. g_short .. "_" .. number])) .. "\n")
end
end
end
end