Module:category tree/poscatboiler/data/lang-specific/vi
Appearance
- පහත දැක්වෙන උපදෙස්, Module:documentation මගින් ජනනය කොට ඇත. [සංස්කරණය කරන්න]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
This module handles generating the descriptions and categorization for වියට්නාම category pages of the format "වියට්නාම 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 rdp_types_app = { "-a", "-ang", "-ap", "-âp", "-ăn", "-e", "-eo", "-ơm", "-iêm", "-it", "-inh", "-oi", "-ôi", "-ui", "-ung", "l-", "ch-", "t-", "b-" }
local rdp_types_special = { a2 = {"-a reduplications (C tone)", "''-a'' reduplication (C tone)", "-a reduplication 2"}, o1 = {"-o reduplications (A tone)", "''-o'' reduplication (A tone)", "-o reduplication 1"}, o2 = {"-o reduplications (B tone)", "''-o'' reduplication (B tone)", "-o reduplication 2"}, ung2 = {"-ung reduplications (A tone)", "''-ung'' reduplication (A tone)", "-ung reduplication 2"} }
for i, rpd_type in pairs(rdp_types_app) do
labels[rpd_type .. " reduplications"] = {
description = "Vietnamese terms that underwent [[Appendix:Vietnamese reduplication#" .. rpd_type .. " reduplication|''" .. rpd_type .. "'' reduplication]].",
parents = {{name = "reduplications", sort = mw.ustring.gsub( rpd_type, "%-", "") }},
}
end
for rpd_type, info in pairs(rdp_types_special) do
labels[info[1]] = {
description = "Vietnamese terms that underwent [[Appendix:Vietnamese reduplication#" .. info[3] .. "|" .. info[2] .. "]].",
parents = {{name = "reduplications", sort = rpd_type }},
}
end
labels["diminutive reduplications"] = {
description = "Vietnamese terms that underwent [[Appendix:Vietnamese reduplication#Adjectives|diminutive reduplication]].",
parents = {{name = "reduplications", sort = "diminutive"}},
}
return {LABELS = labels}