Jump to content

Module:category tree/poscatboiler/data/lang-specific/ang

From Wiktionary, the free dictionary

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

--------------------------------- Nouns/Pronouns/Numerals --------------------------------

labels["consonant stem nouns"] = {
	description = "Old English consonant stem nouns.",
	additional = "Note that the stem class is named from the perspective of Proto-Germanic, and the stem suffix may no longer be visible synchronically.",
	parents = {{name = "nouns by inflection type", sort = "consonant stem"}},
	breadcrumb = "consonant stem",
}

labels["masculine a-stem nouns"] = {
	displaytitle = "Old English masculine ''a''-stem nouns",
	description = "Old English masculine ''a''-stem nouns. These nouns have a genitive singular in ''-es'' and a nominative plural in ''-as''.",
	parents = {{name = "a-stem nouns", sort = "masculine"}},
	breadcrumb = "masculine",
}

labels["neuter a-stem nouns"] = {
	displaytitle = "Old English neuter ''a''-stem nouns",
	description = "Old English neuter ''a''-stem nouns. These nouns have a genitive singular in ''-es'' and a nominative plural that is either endingless (if the stem is heavy) or ending in ''-u'' (if the stem is light).",
	parents = {{name = "a-stem nouns", sort = "neuter"}},
	breadcrumb = "neuter",
}

for _, pos in ipairs({"nouns"}) do
	local sgpos = pos:gsub("s$", "")
	for _, decl in ipairs { "a", "i", "n", "nd", "ō", "u", "z" } do
		labels[decl .. "-stem " .. pos] = {
			displaytitle = "Old English ''" .. decl .. "''-stem " .. pos,
			description = "Old English ''" .. decl .. "''-stem " .. pos .. ".",
			additional = "Note that the stem class is named from the perspective of Proto-Germanic, and the stem suffix may no longer be visible synchronically.",
			breadcrumb = {name = "''" .. decl .. "''-stem", nocap = true},
			parents = {{
				name = pos .. " by inflection type",
				sort = decl,
			}},
		}
	end
end

for _, decl in ipairs({"n"}) do
	for _, gender in ipairs { "masculine", "feminine", "neuter" } do
		labels[gender .. " " .. decl .. "-stem nouns"] = {
			displaytitle = "Old English " .. gender .. " ''" .. decl .. "''-stem nouns",
			description = "Old English " .. gender .. " ''" .. decl .. "''-stem nouns.",
			breadcrumb = {name = gender},
			parents = {{
				name = decl .. "-stem nouns",
				sort = gender,
			}},
		}
	end
end

return {LABELS = labels, HANDLERS = handlers}