Module:category tree/lang/gwax: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 18: Line 18:
parents = {"postnouns"},
parents = {"postnouns"},
}
}
for _, g in ipairs{"animate", "inanimate"} do
for i = 1,2 do
local num = tostring(i)
labels[g .. " " .. num .. " nouns"] = {
description = "{{{langname}}} nouns which cause " .. g .. " " .. num .. " agreement.",
parents = {{name = g .. " nouns", sort = num}},
breadcrumb = num
}
end
end


return {LABELS = labels}
return {LABELS = labels}

Latest revision as of 09:13, 17 May 2026


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

labels["postnouns"] = {
	description = "{{{langname}}} adjectival suffixes that are attached to nouns.",
	breadcrumb = "postnouns",
	parents = {{name="adjectives"}, {name="suffixes"}},
}

labels["augmentative postnouns"] = {
	description = "{{{langname}}} augmentative forms of postnouns.",
	breadcrumb = "augmentative",
	parents = {"postnouns"},
}

labels["diminutive postnouns"] = {
	description = "{{{langname}}} diminutive forms of postnouns.",
	breadcrumb = "diminutive",
	parents = {"postnouns"},
}

for _, g in ipairs{"animate", "inanimate"} do
	for i = 1,2 do
		local num = tostring(i)
		
		labels[g .. " " .. num .. " nouns"] = {
			description = "{{{langname}}} nouns which cause " .. g .. " " .. num .. " agreement.",
			parents = {{name = g .. " nouns", sort = num}},
			breadcrumb = num
		}
	end
end

return {LABELS = labels}