K wobsahej skočić

Modul:category tree/lang/nl

z Wikisłownika

This module handles generating the descriptions and categorization for nižozemšćina category pages of the format "nižozemšćina 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 = {}

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


-- Fixme, do we really need this?
labels["ablauted verbal nouns"] = {
	description = "{{{langname}}} nouns formed from verbs which have undergone historical [[w:Indo-European ablaut|ablaut]].",
	parents = "verbal nouns",
	breadcrumb = "ablauted",
}

labels["nouns with f+m gender"] = {
	preceding = "{{also|Wiktionary:Dutch entry guidelines#Gender}}",
	description = "{{{langname}}} nouns assigned both feminine and masculine gender (in that order), and probably needing cleanup.",
	additional = "Dutch officially has three genders, masculine, feminine and neuter. However, the ''Taalunie'' has assigned " ..
		"\"f and m\" gender to many nouns, based on the idea that these nouns may be used with masculine pronouns as well. " ..
		"However, the use of masculine pronouns is not an indication of masculine gender at all; rather it indicates ''common'' " ..
		"gender, which is different altogether. For this reason, using \"f and m\" should be avoided, and simply \"f\" " ..
		"(or occasionally \"m\") is preferred.",
	hidden = true,
	parents = "entry maintenance",
}

labels["nouns with m+f gender"] = {
	preceding = "{{also|Wiktionary:Dutch entry guidelines#Gender}}",
	description = "{{{langname}}} nouns assigned both masculine and feminine gender (in that order), and probably needing cleanup.",
	additional = "Dutch officially has three genders, masculine, feminine and neuter. However, the ''Taalunie'' has assigned " ..
		"\"f and m\" gender to many nouns, based on the idea that these nouns may be used with masculine pronouns as well. " ..
		"However, the use of masculine pronouns is not an indication of masculine gender at all; rather it indicates ''common'' " ..
		"gender, which is different altogether. For this reason, using \"m and f\" should be avoided, and simply \"f\" " ..
		"(or occasionally \"m\") is preferred, or \"mf\", \"mfequiv\" or \"mfbysense\" if the noun can be both masculine " ..
		"and feminine in dialects that maintain the masculine/feminine distinction.",
	hidden = true,
	parents = "entry maintenance",
}

labels["verbs by derivation type"] = {
	topright = "{{wikipedia|Dutch conjugation#By derivation}}",
	description = "Dutch verbs categorized by the type of derivation.",
	parents = {{name = "verbs", sort = "derivation"}},
}

labels["basic verbs"] = {
	description = "This category contains Dutch verbs that are neither prefixed nor separable.",
	parents = {{name = "verbs by derivation type", sort = "basic"}},
}

labels["deadjectival verbs"] = {
	description = "{{{langname}}} verbs which are formed from adjectives.",
	parents = "verbs by derivation type",
	breadcrumb = "deadjectival",
}

labels["i-mutated deadjectival verbs"] = {
	description = "{{{langname}}} verbs formed from adjectives which have undergone [[w:Germanic umlaut|i-mutation]].",
	parents = "deadjectival verbs",
	breadcrumb = "I-mutated",
}

labels["i-mutated denominal verbs"] = {
	description = "{{{langname}}} verbs formed from nouns which have undergone [[w:Germanic umlaut|i-mutation]].",
	parents = "denominal verbs",
	breadcrumb = "I-mutated",
}

labels["prefixed verbs"] = {
	description = "This category contains Dutch prefixed verbs, which are verbs that are compounded with an unstressed prefix, such as " ..
	"{{m|nl|be-}}, {{m|nl|ver-}} or {{m|nl|ont-}}. The unstressed prefix replaces the {{m|nl||ge-}} prefix that normally occurs in the " ..
	"past participle.",
	parents = {{name = "verbs by derivation type", sort = "prefixed"}},
}

labels["separable verbs"] = {
	topright = "{{wikipedia}}",
	description = "This category contains Dutch separable verbs, which are verbs that are compounded with a particle, " ..
	"often an adverb. When the particle is immediately followed by the verb form, it is written together with it as one word. " ..
	"In other cases, it is separated from the main verb by a space and possibly other words.",
	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 = "Dutch prefixed verbs with the prefix " .. link .. ".",
			displaytitle = "Dutch prefixed verbs with " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "prefixed verbs", 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 = "Dutch separable verbs with the particle " .. link .. ".",
			displaytitle = "Dutch separable verbs with " .. altlink,
			breadcrumb = altlink,
			parents = {{name = "separable verbs", sort = particle}},
		}
	end
end)


return {LABELS = labels, HANDLERS = handlers}