Module:accel/hu

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains new entry creation rules for Hungarian; see WT:ACCEL.


return {generate = function (params, entry)
	if params.form == 'comparative' or params.form == 'superlative' then
		entry.head = '{{head|' .. params.lang .. '|' .. params.form .. ' '
			.. params.pos .. '}}'
		entry.def = '{{' .. params.form .. ' of|' .. params.lang
			.. (params.pos ~= 'adjective' and '|POS=' .. params.pos or '')
			.. '|' .. params.origin .. '}}'
	end
end}