This module handles generating the descriptions and categorization for French category pages of the format "French 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 handlers = {}
labels = {
displaytitle = "{{{langname}}} terms derived from the ''Fables'' of Jean de La Fontaine",
parents = {{name = "terms attributed to a specific source", sort = "Fables of Jean de La Fontaine"}},
description = "{{{langname}}} terms derived from the ''Fables'' of {{w|Jean de La Fontaine}}.",
breadcrumb = "the ''Fables'' of Jean de La Fontaine",
}
labels = {
description = "{{{langname}}} spellings from before the ], particularly those which have been mostly displaced by their respective reformed spellings.",
additional = "This category is populated by {{tl|fr-pre-1990}}.",
parents = {{ name = "terms by orthographic property", sort = "1990" }},
breadcrumb = "pre-1990",
}
labels = {
description = "{{{langname}}} spellings from after the ].",
additional = "This category is populated by {{tl|fr-post-1990}}.",
parents = {{ name = "terms by orthographic property", sort = "1990 " }},
breadcrumb = "post-1990",
}
labels = {
description = "{{{langname}}} plural forms which were changed in form, not just spelling, in the ].",
additional = "This category is populated by {{tl|fr-post-1990-plural}}.",
parents = "post-1990 spellings",
breadcrumb = "post-1990 plurals",
}
labels = {
description = "{{{langname}}} first group verbs, also called regular {{m|fr||-er}} verbs. This is by far the largest of the three main French verb groups.",
additional = "See also ] (regular {{m|fr||-ir}} verbs) and ] (irregular verbs)",
parents = "verbs by inflection type",
breadcrumb = "first group",
}
labels = {
description = "{{{langname}}} second group verbs, also called regular {{m|fr||-ir}} verbs.",
additional = "See also ] (regular {{m|fr||-er}} verbs) and ] (irregular verbs).",
parents = "verbs by inflection type",
breadcrumb = "second group",
}
labels = {
description = "{{{langname}}} third group verbs, also called ]. They typically end in {{m|fr||-ir}}, {{m|fr||-oir}}, {{m|fr||-or}} in their infinitive form.",
additional = "See also ] (regular {{m|fr||-er}} verbs) and ] (regular {{m|fr||-ir}} verbs).",
parents = "verbs by inflection type",
breadcrumb = "third group",
}
table.insert(handlers, function(data)
local conj = data.label:match("^verbs with conjugation (.*)$")
if conj then
return {
description = ("{{{langname}}} verbs in the {{m|fr|%s%s}} conjugation."):format(
-- Link actual verbs, but just italicize suffixes, most of which aren't defined.
conj:find("^%-") and "|" or "", conj),
displaytitle = ("{{{langname}}} verbs with conjugation {{m|fr||%s}}"):format(conj),
breadcrumb = {name = ("{{m|fr||%s}}"):format(conj), nocap = true},
parents = {"verbs by inflection type"},
}
end
end)
return {LABELS = labels, HANDLERS = handlers}