Module:lzz-conjugation
Jump to navigation
Jump to search
- This module lacks a documentation subpage. Please create it.
- Useful links: subpage list • links • transclusions • testcases • sandbox
local p = {}
function p.conjugation(preverb, stem)
-- Create the conjugation table
local tableContent = {}
table.insert(tableContent, "{|+ Conjugation Table")
table.insert(tableContent, "|-")
table.insert(tableContent, "! Verbal Form !! Other Dialect !! Chkhala")
table.insert(tableContent, "|-")
-- Verbal Noun
table.insert(tableContent, "| verbal_noun || " .. preverb .. stem .. "u || " .. preverb .. stem .. "ua")
table.insert(tableContent, "|-")
-- Privative Participle
table.insert(tableContent, "| privative_participle || u" .. stem .. "u || || u" .. stem .. "ua")
table.insert(tableContent, "|-")
-- Verbal Adjective
table.insert(tableContent, "| verbal_adjective || " .. preverb .. stem .. "oni")
table.insert(tableContent, "|-")
-- Participle
table.insert(tableContent, "| participle || " .. preverb .. stem .. "eri")
table.insert(tableContent, "|-")
-- End of table
table.insert(tableContent, "|}")
-- Join the table content into a single string
return table.concat(tableContent, "\n")
end
return p