A modult a Modul:accel/cy/doc lapon tudod dokumentálni
return {generate = function (params, entry)
local template = {
= "nasal mutation of",
= "soft mutation of",
= "aspirate mutation of",
= "h-prothesis of"
}
if template then
entry.def = "{{" .. template .. "|cy|" .. params.origin .. "}}"
end
entry.mutation = "{{cy-mut-auto}}"
if params.pos == "noun" and params.form == "plural" then
entry.head = "{{head|cy|noun plural form}}"
elseif params.form == "nasal" or params.form == "soft" or params.form == "aspirate" or params.form == "h-prothesis" then
entry.head = "{{head|cy|mutated " .. params.pos .. "}}"
entry.mutation = "{{cy-mut-auto|" .. params.origin .. "}}"
end
end}