Module:category tree/lang/snon

Revision as of 07:25, 15 May 2026 by Sware (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


--------------------------------- Nouns/Pronouns/Numerals --------------------------------
labels["lenite nouns"] = {
	description = "{{{langname}}} nouns which trigger lenition in the following term.",
		parents = "nouns by inflection type",
}

labels["radical nouns"] = {
	description = "{{{langname}}} nouns which do not trigger lenition in the following term.",
		parents = "nouns by inflection type",
}

labels["eclipse nouns"] = {
	description = "{{{langname}}} nouns which trigger eclipsis in the following term.",
		parents = "nouns by inflection type",
}

-- Verbs --
for _, part in ipairs{"i", "è"} do
	labels[part .. "-negative verbs"] = {
		description = "{{{langname}}} verbs which use {{l|snon|" .. part .. "}} to form the negative.",
		parents = "verbs",
		displaytitle = "''" .. part .. "''-negative verbs",
		breadcrumb = part,
	}
end

local prepositions = {
	"{{l|snon|til}} > {{l|snon|tilmì}}",
	"{{l|snon|frà}} > {{l|snon|fràmhì}}",
	"{{l|snon|i}} > {{l|snon|inì}}",
}

for i, desc in ipairs(prepositions) do
	local num = tostring(i)
	labels["class " .. num .. " prepositions"] = {
		description = "{{{langname}}} prepositions of pattern " .. num .. ", e.g. " .. desc .. ".",
		parents = {{name="prepositions by inflection type", sort = num}},
		breadcrumb = num,
	}
end

return {LABELS = labels}