Modul:accel/no

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

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

return {generate = function (params, entry)
	local template = {
		['imperative'] = 'imperative of',
		['present'] = 'present tense of',
		['past'] = 'past tense of',
		['past-participle'] = 'past participle of'}
	
	if template[params.form] then
		entry.def = '{{' .. template[params.form] .. '|' .. params.lang .. '|'
			.. params.origin .. (params.form == "imperative" and '|nocat=1' or '')
			.. '}}'
	end
end}