Modul:category tree/poscatboiler/data/lang-specific/az

This module handles generating the descriptions and categorization for Azeri category pages of the format "Azeri LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. This module is part of the poscatboiler system, which is a general framework for generating the descriptions and categorization of category pages.

For more information, see Module:category tree/poscatboiler/data/lang-specific/documentation.

NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:category tree/poscatboiler/data/lang-specific in order for the module to be recognized.


local labels = {}
local handlers = {}

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


labels["kata kerja majmuk"] = {
	description = "Bentuka kata kerja ringan bahasa {{{langname}}} terdiri daripada kata kerja dan unsur bukan kerja seperti kata nama.",
	parents = {"kata kerja", "Kategori:Kata kerja frasa mengikut bahasa", "perkataan majmuk"},
}

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 = "kata kerja jamak", sort = auxverb}},
		}
	end
end)

labels["kata nama kehilangan vokal akhir"] = {
	description = "Kata nama bahasa Azeri yang hilang vokal akhirnya sebelum kes dan akhiran tatabahasa tertentu.",
	parents = {"kata nama mengikut jenis infleksi", "perkataan mengikut sifat tulisan"},
}

labels["bentuk jamak kata nama rosak"] = {
	description = "Kata nama bahasa {{{langname}}} dengan bentuk majmuk seperti bahasa Arab.",
	breadcrumb = "bentuk jamak rosak",
	parents = {"bentuk kata nama"},
}

return {LABELS = labels, HANDLERS = handlers}