Kontent qismiga oʻtish

Modul:accel/he

Vikilug‘atdan olingan

Bu modul uchun Modul:accel/he/doc nomli hujjat sahifasini yaratishingiz mumkin

return {generate = function (params, entry)
	local formparam = {
		["p"] = "|n=p|s=i",
		["s|cons"] = "|n=s|s=c",
		["p|cons"] = "|n=p|s=c",
	}
	
	if formparam[params.form] then
		entry.def = "{{he-noun form of|" .. params.origin_pagename
			.. (params.origin ~= params.origin_pagename and "|wv=" .. params.origin or "")
			.. formparam[params.form] .. "}}"
	end
end}