This module contains new entry creation rules for Welsh; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function (params, entry)
local template = {
= "nasal mutation of",
= "soft mutation of",
= "aspirate mutation of",
= "h-prothesis of",
= "singulative of",
}
if template then
entry.def = entry.make_def(template)
end
entry.mutation = "{{cy-mut}}"
if params.form == "singulative" then
entry.head = entry.make_head("singulative")
elseif params.form == "nasal" or params.form == "soft" or params.form == "aspirate" or params.form == "h-prothesis" then
entry.head = entry.make_head("mutated " .. params.pos)
entry.mutation = "{{cy-mut|" .. params.origin .. "}}"
end
end}