Module:category tree/lang/eu
- 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 Basque category pages of the format "Basque 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/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 = {}
local lang = require("Module:languages").getByCode("eu")
labels["short verb forms"] = {
description = "Basque non-finite verb forms used with non-indicative auxiliaries.",
parents = {"verb forms"},
}
labels["synthetic verbs"] = {
description = "Basque verbs that can be conjugated without auxiliaries.",
parents = {"verbs"},
}
labels["masculine allocutive verb forms"] = {
description = "Basque verb forms that mark the addressee as a male.",
parents = {"allocutive verb forms"},
}
labels["feminine allocutive verb forms"] = {
description = "Basque verb forms that mark the addressee as a female.",
parents = {"allocutive verb forms"},
}
labels["allocutive verb forms"] = {
description = "Basque verb forms that mark the gender of the addressee.",
parents = {"verb forms"},
}
-- Category:Basque compound verbs formed with "xyz"
table.insert(handlers, function(data)
local auxverb = data.label:match("^compound verbs formed with \"(.+)\"$")
if auxverb then
local link = require("Module:links").full_link({ lang = lang, term = auxverb }, "term")
local altlink = require("Module:links").full_link({ lang = lang, alt = auxverb }, "term")
return {
description = "{{{langname}}} compound verbs formed with the verb " .. link .. ".",
displaytitle = "{{{langname}}} compound verbs formed with \"" .. altlink .. '"',
breadcrumb = altlink,
parents = {{name = "compound verbs", sort = auxverb}},
}
end
end)
return {LABELS = labels, HANDLERS = handlers}