Modul:category tree/poscatboiler/data/lang-specific/nl

This module handles generating the descriptions and categorization for Belanda category pages of the format "Belanda 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 = {}

local lang = require("Module:languages").getByCode("nl")


labels["kata kerja mengikut jenis terbitan"] = {
	topright = "{{wikipedia|Konjugasi bahasa Belanda#Mengikut terbitan}}",
	description = "Kata kerja bahasa Belanda mengikut jenis terbitan.",
	parents = {{name = "kata kerja", sort = "terbitan"}},
}

labels["kata kerja asas"] = {
	description = "Kata kerja bahasa Belanda yang tidak berawalan atau berpisahan.",
	parents = {{name = "kata kerja mengikut jenis terbitan", sort = "asas"}},
}

labels["kata kerja berawalan"] = {
	description = "Kata kerja bahasa Belanda dengan awalan tanpa stres seperti " ..
	"{{m|nl|be-}}, {{m|nl|ver-}} atau {{m|nl|ont-}}. Awalan-awalan ini menggantikan awalan {{m|nl||ge-}} yang biasanya wujud sebagai bentuk " ..
	"kala lampau partisipel.",
	parents = {{name = "kata kerja mengikut jenis terbitan", sort = "berawalan"}},
}

labels["kata kerja berpisahan"] = {
	topright = "{{wikipedia}}",
	description = "Kata kerja berpisahan bahasa Belanda, yakni kata kerja yang dimajmukkan dengan partikel, " ..
	"biasanya adverba. Apabila partikel disusuli dengan kata kerja, ia ditulis bersamanya sebagai satu perkataan. " ..
	"Dalam kes lain, ia dipisah daripada kata kerja utama dengan jarak atau diisi frasa.",
	parents = {{name = "verbs by derivation type", sort = "separable"}},
}

table.insert(handlers, function(data)
	local pref = data.label:match("^prefixed verbs with (.+%-)$")
	if pref then
		local link = require("Module:links").full_link({ lang = lang, term = pref }, "term")
		local altlink = require("Module:links").full_link({ lang = lang, alt = pref }, "term")
		return {
			description = "Kata kerja bahasa Belanda dengan awalan " .. link .. ".",
			displaytitle = "Kata kerja bahasa Belanda dengan awalan " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "kata kerja berawalan", sort = pref}},
		}
	end
end)

table.insert(handlers, function(data)
	local particle = data.label:match("^separable verbs with (.+)$")
	if particle then
		local link = require("Module:links").full_link({ lang = lang, term = particle }, "term")
		local altlink = require("Module:links").full_link({ lang = lang, alt = particle }, "term")
		return {
			description = "Kata kerja berpisahan bahasa Belanda dengan awalan " .. link .. ".",
			displaytitle = "Kata kerja berpisahan bahasa Belanda dengan " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "kata kerja berpisahan", sort = particle}},
		}
	end
end)


return {LABELS = labels, HANDLERS = handlers}