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

------- Verbal categories -------

local ordinal_to_number = {
	first = 1,
	second = 2,
	third = 3,
	fourth = 4,
	fifth = 5,
}

for ordinal, number in pairs(ordinal_to_number) do
	labels[ordinal .. " infinitives"] = {
		description = "{{{langname}}} " .. ordinal .. " infinitives.",
		breadcrumb = ordinal,
		parents = {{name = "infinitives", sort = number}},
		can_be_empty = true,
	}
	labels["active " .. ordinal .. " infinitives"] = {
		description = "{{{langname}}} active " .. ordinal .. " infinitives.",
		breadcrumb = "active",
		parents = {ordinal .. " infinitives"},
	}
	labels["passive " .. ordinal .. " infinitives"] = {
		description = "{{{langname}}} passive " .. ordinal .. " infinitives.",
		breadcrumb = "passive",
		parents = {ordinal .. " infinitives"},
	}
end

return {LABELS = labels}