انتقل إلى المحتوى

وحدة:category tree/lang/az

من ويكاموس، القاموس الحر
local labels = {}
local handlers = {}

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


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

table.insert(handlers, function(data)
	local auxverb = data.label:match("^compound verbs formed 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 formed with the {{w|light verb}} " .. link .. ".",
			displaytitle = "{{{langname}}} compound verbs formed with \"" .. altlink .. '"',
			breadcrumb = altlink,
			parents = {{name = "compound verbs", sort = auxverb}},
		}
	end
end)

labels["nouns which lose their last vowel"] = {
	description = "Azerbaijani nouns which lose their last vowel before certain grammatical cases and endings.",
	parents = {"nouns by inflection type", "terms by orthographic property"},
}

labels["broken noun plural forms"] = {
	description = "{{{langname}}} nouns that are inflected for plural as in Arabic.",
	breadcrumb = "broken plural forms",
	parents = {"noun forms"},
}

return {LABELS = labels, HANDLERS = handlers}