Module:accel/ln

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains new entry creation rules for Lingala; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


return {generate = function (params, entry)
	if params.form == "p" then
		entry.head = "{{ln-noun-form|" .. mw.ustring.sub(params.gender, 2) .. "}}"
	elseif params.form == "infinitive" then
		entry.head = "{{ln-inf}}"
		entry.def = entry.make_def("inflection of", "|-" .. params.origin .. "|" .. params.form)
	end
end}