Modul:accel/da

A Wikiszótárból, a nyitott szótárból

A modult a Modul:accel/da/doc lapon tudod dokumentálni

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",
		
		["e-form"] = "da-e-form of",
		["comparative"] = "comparative of",
		["superlative|pred"] = "superlative predicative of",
		["superlative|attr"] = "superlative attributive of"
	}
	
	if template[params.form] then
		entry.def = "{{" .. template[params.form] .. (params.form == "e-form" and "" or "|" .. params.lang) .. "|" .. params.origin .. "}}"
	end
end}