模組:Category tree/poscatboiler/data/lang-specific/az


This module handles generating the descriptions and categorization for 阿塞拜疆語 category pages of the format "阿塞拜疆語 LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. 該模块是 poscatboiler 系統的一部分,該系統是用於生成分類頁面的描述和分類的通用框架。

有關更多資訊,請參閱Module:category tree/poscatboiler/data/lang-specific/doc

注意:如果您新增了特定語言的模块,請將語言代碼新增至 Module:category tree/poscatboiler/data/lang-specific 頂部的清單中,使程式碼能識別該模块。


local labels = {}
local handlers = {}

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


labels["複合動詞"] = {
	description = "Azerbaijani light verb constructions consisting of a verb and a non-verbal element, such as a noun.",
	parents = {"動詞", "Category:片語動詞", "複合詞"},
}

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 = "複合動詞", sort = auxverb}},
		}
	end
end)

labels["失去最後一個元音的名詞"] = {
	description = "Azerbaijani nouns which lose their last vowel before certain grammatical cases and endings.",
	parents = {"依屈折分類的名詞", "依正字法屬性分類的詞"},
}

return {LABELS = labels, HANDLERS = handlers}