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


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 = {}

--------------------------------- Verbs --------------------------------

labels["verbs by conjugation"] = {
	description = "Pali verbs categorized by conjugation.",
	parents = {{name = "verbs by inflection type", sort = "conjugation"}},
}

for _, conj in ipairs {
	{"first", "1"},
	{"second", "2"},
	{"third", "3"},
	{"fourth", "4"},
	{"fifth", "5"},
	{"sixth", "6"},
	{"seventh", "7"},
} do
	local ordinal, cardinal = unpack(conj)
	labels[ordinal .. " conjugation verbs"] = {
		description = "Pali verbs of the " .. ordinal .. " conjugation.",
		parents = {{name = "verbs by conjugation", sort = cardinal}},
		breadcrumb = ordinal,
	}
end

labels["irregular conjugation verbs"] = {
	description = "Pali irregularly-conjugated verbs.",
	parents = {{name = "verbs by conjugation", sort = "irregular"}, {name = "irregular verbs", sort = "*"}},
	breadcrumb = "irregular",
}

labels["desiderative verbs"] = {
	description = "Pali verbs with the following morphology: "..
		"reduplicated verbal root xxx + [[desiderative]] affix, "..
		"and the following semantics: to wish to do the action xxx.",
	parents = {{name = "verbs", sort = "desiderative"}},
}

return {LABELS = labels, HANDLERS = handlers}