Module:category tree/lang/guim

From Linguifex
Revision as of 16:10, 14 May 2026 by Sware (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This module handles generating the descriptions and categorization for Guimin category pages of the format "Guimin 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 category tree system, which is a general framework for generating the descriptions and categorization of category pages.

For more information, see Module:category tree/lang/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/lang in order for the module to be recognized.


local labels = {}

local noun_declensions = {
	first = "1",
	second = "2",
	third = "3",
	fourth = "4",
	fifth = "5",
	sixth = "6",
	seventh = "7",
	eighth = "8",
	ninth = "9"
}

for _, pos in ipairs{"nouns", "adjectives"} do
	for decl, declnum in pairs(noun_declensions) do
		local decltext = decl .. " declension"
		labels[decltext .. " " .. pos] = {
			description = "{{{langname}}} " .. pos .. " of the " .. decltext .. ".",
			parents = {{name = pos .. " by inflection type", sort = declnum}},
			breadcrumb = decltext,
		}
	end
end

labels["nouns with oblique suppletion"] = {
	description = "{{{langname}}} nouns that have separate stems for absolutive and oblique cases.",
	parents = "suppletive nouns",
	breadcrumb = "oblique suppletion"
}

labels["light verbs"] = {
	description = "{{{langname}}} verbs which are not derived from other verbs.",
	parents = "verbs",
	breadcrumb = "light"
}

return {LABELS = labels}