Module:category tree/lang/sego: Difference between revisions
Jump to navigation
Jump to search
Created page with "local labels = {} local noun_declensions = { "-os" } for _, g in ipairs{"masculine", "feminine"} do for _, decl in ipairs(noun_declensions) do labels[g .. " " .. decl .. " nouns"] = { description = "{{{langname}}} " .. g .. " nouns that end in {{l|sego|" .. decl .. "}}.", parents = {{name = "nouns by inflection type"}, {name = g .. " nouns"}}, displaytitle = g .. " ''" .. decl .. "'' nouns", breadcrumb = decl, } end end return {LABELS = labels}" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
local noun_declensions = { | local noun_declensions = { | ||
"-os" | "-os", "-a" | ||
} | } | ||
| Line 10: | Line 10: | ||
description = "{{{langname}}} " .. g .. " nouns that end in {{l|sego|" .. decl .. "}}.", | description = "{{{langname}}} " .. g .. " nouns that end in {{l|sego|" .. decl .. "}}.", | ||
parents = {{name = "nouns by inflection type"}, {name = g .. " nouns"}}, | parents = {{name = "nouns by inflection type"}, {name = g .. " nouns"}}, | ||
displaytitle = g .. " ''" .. decl .. "'' nouns", | displaytitle = "{{{langname}}} " .. g .. " ''" .. decl .. "'' nouns", | ||
breadcrumb = decl, | breadcrumb = decl, | ||
} | } | ||
Latest revision as of 09:55, 24 June 2026
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module handles generating the descriptions and categorization for Segotian category pages of the format "Segotian 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 = {}
local noun_declensions = {
"-os", "-a"
}
for _, g in ipairs{"masculine", "feminine"} do
for _, decl in ipairs(noun_declensions) do
labels[g .. " " .. decl .. " nouns"] = {
description = "{{{langname}}} " .. g .. " nouns that end in {{l|sego|" .. decl .. "}}.",
parents = {{name = "nouns by inflection type"}, {name = g .. " nouns"}},
displaytitle = "{{{langname}}} " .. g .. " ''" .. decl .. "'' nouns",
breadcrumb = decl,
}
end
end
return {LABELS = labels}