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 handlers = {}

--------------------------------- Verbs --------------------------------

labels["compound verbs by base verb"] = {
	description = "{{{langname}}} compound verbs categorized by base verb.",
	parents = {"verbs"},
}

table.insert(handlers, function(data)
	local base_verb = data.label:match("^compound verbs with base verb (.*)$")
	if base_verb then
		local altlink = "{{m|ur||" .. base_verb .. "}}"
		local altlink_no_tr = "{{m|ur||" .. base_verb .. "|tr=-}}"
		return {
			description = "{{{langname}}} compound verbs formed with the base verb {{m|ur|" .. base_verb .. "|tr=-}}.",
			displaytitle = "{{{langname}}} compound verbs with base verb " .. altlink_no_tr,
			parents = {
				{name = "compound verbs by base verb", sort = base_verb}
			},
			breadcrumb = altlink_no_tr,
		}
	end
end)


return {LABELS = labels, HANDLERS = handlers}
"https://si.wiktionary.org/w/index.php?title=Module:category_tree/poscatboiler/data/lang-specific/ur&oldid=53102" වෙතින් සම්ප්‍රවේශනය කෙරිණි