Jump to content

Module:accel/es

Wiktionary වෙතින්

This module contains new entry creation rules for ස්පාඤ්ඤ; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


return {generate = function (params, entry)
	-- special handling for female equivalents
	if params.pos == "noun" and params.form == "f" then
		entry.head = "{{es-noun|f}}"
		-- definition already correct
	end
	-- special handling for verb forms
	local verb_spec = params.form:match("^verb%-form%-(.*)$")
	if verb_spec then
		entry.def = "{{es-verb form of|" .. verb_spec .. "}}"
	end
end}
"https://si.wiktionary.org/w/index.php?title=Module:accel/es&oldid=34006" වෙතින් සම්ප්‍රවේශනය කෙරිණි