Module:yi-prefix

विक्षनरी से

"इस मॉड्यूल हेतु प्रलेख Module:yi-prefix/doc पर बनाया जा सकता है"

local export = {}

local m_templates = require("Module:compound/templates")
local m_utilities = require("Module:utilities")

local separables = { ["אויס"]=true }

function export.prefix(frame)
	local first_prefix = frame:getParent().args[2]
	
	-- It would be nice to check if this category is in the Yiddish Separable Prefixes category or something
	local extra_cat = ""
	if separables[first_prefix] then
		extra_cat = "[[Category:Yiddish verbs with separable prefixes]]"
	end
		
	return m_templates.prefix(frame) .. extra_cat
end

return export