Module:ce-decl

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


local export = {}
function export.show(frame) --regular, no stem changes
	local stem = frame.args[1] or mw.title.getCurrentTitle().text
	return frame:expandTemplate{title='ce-decl-noun/frame', args={
		abs_sg = stem,
		gen_sg = stem .. 'ан',
		dat_sg = stem .. 'на',
		erg_sg = stem .. 'о',
		all_sg = stem .. 'е',
		ins_sg = stem .. 'ца',
		lat_sg = stem .. 'ах',
		com_sg = stem .. 'ал',
		abs_pl = stem .. 'аш',
		gen_pl = stem .. 'ийн',
		dat_pl = stem .. 'ашна',
		erg_pl = stem .. 'аша',
		all_pl = stem .. 'ашка',
		ins_pl = stem .. 'ашца',
		lat_pl = stem .. 'ех',
		com_pl = stem .. 'ел',
	}} end
return export