Module:category tree/poscatboiler/data/lang-specific/csb
Jump to navigation
Jump to search
- 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 Kashubian category pages of the format "Kashubian 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 = {}
--------------------------------- Adjectives --------------------------------
local adj_like_poses = {"adjective", "pronoun", "determiner", "numeral", "suffix"}
for _, pos in ipairs(adj_like_poses) do
local plpos = require("Module:string utilities").pluralize(pos)
labels["hard " .. plpos] = {
description = "{{{langname}}} hard-stem " .. plpos .. ".",
parents = {{name = plpos .. " by inflection type", sort = "hard-stem"}},
}
labels["soft " .. plpos] = {
description = "{{{langname}}} soft-stem " .. plpos .. ".",
parents = {{name = plpos .. " by inflection type", sort = "soft-stem"}},
}
labels["velar " .. plpos] = {
description = "{{{langname}}} velar-stem " .. plpos .. ".",
parents = {{name = plpos .. " by inflection type", sort = "velar-stem"}},
}
labels[plpos .. " with short forms"] = {
description = "{{{langname}}} " .. plpos .. " with short-form inflections.",
parents = {{name = plpos .. " by inflection type", sort = "short forms"}},
}
end
return {LABELS = labels}