Module:category tree/lang/jl-two

Revision as of 18:40, 12 May 2026 by Sware (talk | contribs) (Created page with "local labels = {} for _, gender in ipairs{"American", "British"} do labels[gender .. " nouns"] = { description = "{{{langname}}} nouns of " .. gender .. ", i.e. belonging to a gender category that contains (among other things) " .. gender .. " beings.", parents = {pos .. " by gender"}, breadcrumb = gender, } end labels["terms with third-party pronunciations"] = { description = "{{{langname}}} terms with an accent that is not General American or Received Pronun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This module handles generating the descriptions and categorization for Jokelang 2 category pages of the format "Jokelang 2 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 _, gender in ipairs{"American", "British"} do
	labels[gender .. " nouns"] = {
		description = "{{{langname}}} nouns of " .. gender .. ", i.e. belonging to a gender category that contains (among other things) " .. gender .. " beings.",
		parents = {pos .. " by gender"},
		breadcrumb = gender,
	}
end

labels["terms with third-party pronunciations"] = {
	description = "{{{langname}}} terms with an accent that is not General American or Received Pronunciation.",
	parents = {"terms by orthographic property"},
}

return {LABELS = labels}