Module:qhv-verb: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 146: Line 146:
for i=1, 3 do
for i=1, 3 do
table.insert(ret, "| " .. link(show_form(data.forms[(match(mode, "%s(.*)$") == "active" and "act" or "pas") .. "_" .. mood[1] .. "_" .. tense[1] .. "_" .. tostring(i) .. number])) .. "\n")
table.insert(ret, "| " .. link(show_form(data.forms[(match(mode, "%s(.*)$") == "active" and "act" or "pas") .. "_" .. mood[1] .. "_" .. tense[1] .. "_" .. tostring(i) .. number])) .. "\n")
if (tense[1] == "hab") and (i == 3) and (number == "pl") then table.insert(ret, "! style='background:#808080; height:.2em' colspan='9' |\n") end
if (tense[1] == "hab") and (i == 3) and (number == "pl") then table.insert(ret, "|-\n! style='background:#808080; height:.2em' colspan='9' |\n") end
end
end
end
end

Navigation menu