Module:accel/pt

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 = "{{pt-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 = "{{pt-verb form of|" .. verb_spec .. "}}"
	end
end}
"https://si.wiktionary.org/w/index.php?title=Module:accel/pt&oldid=34037" වෙතින් සම්ප්‍රවේශනය කෙරිණි