Modul:accel/en

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

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

return {generate = function(params, entry)
	if params.form == "comparative" then
		entry.def = "{{en-comparative of|" .. params.origin .. (params.pos ~= "adjective" and "|POS=" .. params.pos or "") .. "}}"
	elseif params.form == "superlative" then
		entry.def = "{{en-superlative of|" .. params.origin .. (params.pos ~= "adjective" and "|POS=" .. params.pos or "") .. "}}"
	elseif params.form == "3|s|pres" then
		entry.def = "{{en-third-person singular of|" .. params.origin .. "}}"
	elseif params.form == "pres|ptcp" then
		entry.def = "{{present participle of|" .. params.lang .. "|" .. params.origin .. "|nocat=1}}"
	elseif params.form == "past" then
		entry.def = "{{en-simple past of|" .. params.origin .. "}}"
	elseif params.form == "past|and|past|ptcp" then
		entry.def = "{{en-past of|" .. params.origin .. "}}"
	elseif params.form == "past|ptcp" then
		entry.def = "{{past participle of|" .. params.lang .. "|" .. params.origin .. "|nocat=1}}"
	elseif params.form == "p" then
		entry.def = "{{plural of|" .. params.lang .. "|" .. params.origin .. "}}"
	end
end}