Module:category tree/lang/cel-gal

Revision as of 23:37, 9 May 2026 by Sware (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

for _, pos in ipairs{"nouns", "proper nouns"} do
	for _, decl in ipairs{"a", "e", "o", "n", "nt", "á", "r", "consonant"} do
		local decltext = decl .. "-declension"
		labels[decltext .. " " .. pos] = {
			description = "{{{langname}}} " .. pos .. " that end in " .. (decl == "consonant" and "a consonant" or "''-" .. decl .. "''") .. ".",
			parents = {{name = pos .. " by inflection type", sort = declnum}},
			breadcrumb = decl,
		}
	end
end

return {LABELS = labels}