This module contains new entry creation rules for Estonian; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function(params, entry)
if params.form == "da-infinitive" then
entry.def = "{{et-verb form of|t=da|" .. params.origin .. "}}"
elseif params.pos == "adjective" then
if params.form == "comparative" then
entry.declension = "{{et-decl-õpik|" .. params.target .. "|a}}"
entry.head = "{{et-nom|comparative " .. params.pos .. "|" .. params.target .. "a|" .. params.target .. "at}}"
elseif params.form == "superlative" then
entry.declension = "{{et-decl-õpik|" .. params.target .. "|a}}"
entry.head = "{{et-nom|superlative " .. params.pos .. "|" .. params.target .. "a|" .. params.target .. "at}}"
end
end
end}