Module:qay-verb: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 129: Line 129:
local genders = {"m", "f", "n", "in"}
local genders = {"m", "f", "n", "in"}
local columns = {"top", "cli"}
local columns = {"top", "cli"}
local others = {"imperative", "hortative", "iterative", "participle"}
local ret = {}
local ret = {}
Line 148: Line 149:
end
end
end
end
table.insert(ret, '\n|- style="border-top: double"\n')
for _, other in ipairs(others) do
table.insert(ret, '! style="background-color:#000080; color:white" colspan=3 | ' .. other .. '\n')
table.insert(ret, '| colspan=2 | ' .. link(show_form(data.forms[other])) .. '\n')
end
return table.concat(ret)
return table.concat(ret)
end
end