Пређи на садржај

Модул:category tree/poscatboiler/data/lang-specific/fa

Документацију овог модула можете да направите на страници Модул:category tree/poscatboiler/data/lang-specific/fa/док

local labels = {}
local handlers = {}

local lang = require("Module:languages").getByCode("fa")

labels["compound verbs"] = {
	description = "{{{langname}}} light verb constructions consisting of a verb and a non-verbal element, such as a noun.",
	parents = {"verbs", "Category:Phrasal verbs by language", "compound words"},
}

table.insert(handlers, function(data)
	local auxverb = data.label:match("^compound verbs with (.+)$")
	if auxverb then
		local link = require("Module:links").full_link({ lang = lang, term = auxverb }, "term")
		local altlink = require("Module:links").full_link({ lang = lang, alt = auxverb }, "term")
		return {
			description = "{{{langname}}} compound verbs with the phrasal verb " .. link .. ".",
			displaytitle = "{{{langname}}} compound verbs with " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "compound verbs", sort = auxverb}},
		}
	end
end)

return {LABELS = labels, HANDLERS = handlers}