Jump to content

Module:accel/da

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)
	local template = {
		["impr"] = "imperative of",
		["pres"] = "present tense of",
		["past"] = "past tense of",
		["past|ptcp"] = "past participle of",
		["pasv"] = "passive of",
		["pasv|past"] = "passive past tense of",
		["pres|ptcp"] = "present participle of",
		["gerund"] = "gerund of",
		
		["superlative|pred"] = "superlative predicative of",
		["superlative|attr"] = "superlative attributive of"
	}

	if params.form == "e-form" then
		entry.def = "{{da-e-form of|" .. params.origin .. "}}"
	elseif template[params.form] then
		entry.def = entry.make_def(template[params.form])
	end
end}
"https://si.wiktionary.org/w/index.php?title=Module:accel/da&oldid=34002" වෙතින් සම්ප්‍රවේශනය කෙරිණි