Module:qhv-verb: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 139: Line 139:
tenses = {{"prs", "present"}, {"aor", "aorist"}, {"fut", "future"}, {"imperf", "imperfect"},
tenses = {{"prs", "present"}, {"aor", "aorist"}, {"fut", "future"}, {"imperf", "imperfect"},
  {"prf", "perfect"}, {"plu", "pluperfect"}, {"hab", "past habitual"}}
  {"prf", "perfect"}, {"plu", "pluperfect"}, {"hab", "past habitual"}}
table.insert(ret, "|-\n! colspan='7' style='background: #ADE981; width: 7em' | " .. (match(mode, "%s(.*)$")) .. "\n")
for _, mood in ipairs(moods) do
for _, mood in ipairs(moods) do
table.insert(ret, "! style='background: #ADE981; width: 7em' | " .. mood[2] .. "\n")
table.insert(ret, "|-\n! rowspan='7' style='background: #7AB350; width: 7em' | " .. mood[2] .. "\n")
for _, tense in ipairs(tenses) do
for _, tense in ipairs(tenses) do
table.insert(ret, "! style='background: #ADE981; width: 7em' | " .. tense[2] .. "\n")
table.insert(ret, "! style='background: #ADE981; width: 7em' | " .. tense[2] .. "\n")

Navigation menu