Module:category tree/poscatboiler/data/lang-specific/fax
Appearance
- පහත දැක්වෙන උපදෙස්, Module:documentation මගින් ජනනය කොට ඇත. [සංස්කරණය කරන්න]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
This module handles generating the descriptions and categorization for Fala category pages of the format "Fala 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 = {}
labels["verbs by conjugation"] = {
description = "Fala verbs categorized by conjugation.",
parents = {"verbs by inflection type"},
}
labels["verbs ending in -al"] = {
description = "Fala first conjugation verbs, derived from Latin [[:Category:Latin first conjugation verbs|first conjugation (-āre) verbs]].",
parents = {"verbs by conjugation"},
}
labels["verbs ending in -el"] = {
description = "Fala second conjugation verbs, derived from Latin [[:Category:Latin second conjugation verbs|second conjugation (-ēre)]] or [[:Category:Latin third conjugation verbs|third conjugation (-ere)]] verbs.",
parents = {"verbs by conjugation"},
}
labels["verbs ending in -il"] = {
description = "Fala third conjugation verbs, derived from Latin [[:Category:Latin third conjugation verbs|third conjugation (-ere)]] or [[:Category:Latin fourth conjugation verbs|fourth conjugation (-īre)]] verbs.",
parents = {"verbs by conjugation"},
}
-- Add labels for verbs with consonant alternations
labels["verbs by consonant alternation"] = {
description = "{{{langname}}} verbs categorized by type of consonant alternation.",
parents = {"verbs by inflection type"},
}
local consonant_alternations = {
["c-qu"] = {"qu", "c"},
["c-z"] = {"c", "z"},
["g-gu"] = {"gu", "g"},
["gu-gü"] = {"gü", "gu"},
}
for alt, frontback in pairs(consonant_alternations) do
local desc
local front, back = unpack(frontback)
desc = "{{{langname}}} verbs whose final consonant alternates between ''" .. front .. "'' before front vowels (''e'', ''i'') " ..
"and ''" .. back .. "'' before back vowels (''a'', ''o'', ''u'')."
labels["verbs with " .. alt .. " alternation"] = {
description = desc,
displaytitle = "{{{langname}}} verbs with {{m|fax||" .. alt .. "}} alternation",
parents = {{name = "verbs by consonant alternation", sort = alt}},
breadcrumb = "{{m|fax||" .. alt .. "}}",
}
end
return {LABELS = labels}