Modul:category tree/poscatboiler/data/lang-specific/et
- Berikut merupakan pendokumenan yang dijana oleh Modul:pendokumenan. [sunting]
- Pautan berguna: laman akar • sublaman • pautan • transklusi • kes ujian • kotak pasir
This module handles generating the descriptions and categorization for Estonia category pages of the format "Estonia 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 = {}
local handlers = {}
------- Nominal categories -------
labels["nominal mengikut jenis infleksi"] = {
description = "Kata nama dan sifat bahasa {{{langname}}} mengikut jenis infleksi.",
breadcrumb = " jenis infleksi",
preceding = "{{mainapp|Deklensi bahasa Estonia}}",
parents = {
{name = "kata nama", sort = " jenis infleksi"},
{name = "kata sifat", sort = " jenis infleksi"},
},
}
table.insert(handlers, function(data)
local nomtype = data.label:match("^(.*)%-type nominals$")
if nomtype then
return {
description = ("{{{langname}}} ''%s''-type nominals."):format(nomtype),
additional = ("Terms are added to this category using {{tl|et-decl-%s}}."):format(nomtype),
breadcrumb = {name = ("''%s''-type"):format(nomtype), nocap = true},
parents = {"nominal mengikut jenis infleksi"},
}
end
end)
labels["nominal tidak lazim"] = {
description = "{{{langname}}} nominals that follow non-standard patterns of declension.",
breadcrumb = "tidak lazim",
parents = {"kata nama", "kata sifat", "kata ganti nama",
{name = "kata nama tidak lazim", lang = false},
{name = "kata sifat tidak lazim", lang = false},
},
}
for _, pos in ipairs { "kata sifat", "kata nama" } do
labels[pos .. " tanpa jenis deklensi"] = {
description = "{{{langname}}} " .. pos .. " that lack declension type.",
parents = {"penyelenggaraan entri"},
hidden = true,
can_be_empty = true,
}
end
------- Verbal categories -------
labels["kata kerja mengikut jenis infleksi"] = {
description = "{{{langname}}} verbs categorized by their inflection type.",
breadcrumb = "mengikut jenis infleksi",
preceding = "{{mainapp|Konjugasai bahasa Estonia}}",
parents = {
{name = "kata kerja", sort = " jenis infleksi"},
{name = "kata kerja mengikut jenis infleksi", lang = false},
},
}
table.insert(handlers, function(data)
local verbtype = data.label:match("^(.*)%-type verbs$")
if verbtype then
return {
description = ("{{{langname}}} ''%s''-type verbs."):format(verbtype),
additional = ("Terms are added to this category using {{tl|et-conj-%s}}."):format(verbtype),
breadcrumb = {name = ("''%s''-type"):format(verbtype), nocap = true},
parents = {"kata kerja mengikut jenis infleksi"},
}
end
end)
------- Misc categories -------
labels["entri dengan infleksi tidak sepadan dengan nama tajuk"] = {
description = "{{{langname}}} entries which have an inflection table whose lemma form does not match the page name.",
additional = "This is usually the result of incorrect or missing parameters.",
breadcrumb = "inflection not matching pagename",
parents = {{name = "penyelenggaraan entri", sort = "inflection not matching pagename"}},
hidden = true,
can_be_empty = true,
}
return {LABELS = labels, HANDLERS = handlers}