Module:User:Benwing2/category tree/poscatboiler/data/lang-specific/az

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

This is a private module sandbox of Benwing2, for their own experimentation. Items in this module may be added and removed at Benwing2's discretion; do not rely on this module's stability.


local labels = {}
local handlers = {}

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


labels["compound verbs"] = {
	description = "Azerbaijani 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 = "Azerbaijani compound verbs with the phrasal verb " .. link .. ".",
			displaytitle = "Azerbaijani compound verbs with " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "compound verbs", sort = auxverb}},
		}
	end
end)


return {LABELS = labels, HANDLERS = handlers}