Module:category tree/poscatboiler/data/lang-specific/pi

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

This module handles generating the descriptions and categorization for Pali category pages of the format "Pali 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 = {}

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