Module:accel/no

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains new entry creation rules for Norwegian; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


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 = entry.make_def(template[params.form], (params.form == "imperative" and "|nocat=1" or ""))
	end
end}