Module:qhv-adj: Difference between revisions

Jump to navigation Jump to search
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: 20.83%\" | " .. link(show_form(data.forms[(pre and "" or "post_") .. case_short .. "_" .. g_short .. "_" .. number])) .. "\n")
table.insert(ret, "| style=\"width:" .. (data.decl_type == "I" and "10.10%" or "20.83%") .. ";\" | " .. link(show_form(data.forms[(pre and "" or "post_") .. case_short .. "_" .. g_short .. "_" .. number])) .. "\n")
end
end
end
end

Navigation menu