Пређи на садржај

Модул:category tree/topic cat/data/Names

Script error: The function "main" does not exist.

local labels = {}
local handlers = {}

labels["имена"] = {
	type = "повезаних",
	description = "{{{langname}}} имена for a variety of things.",
	additional = "Given имена and surимена can be found in [[:Категорија:Имена по језику]].",
	parents = {"све теме"},
}

labels["имена слова"] = {
	type = "name",
	description = "{{{langname}}} terms that are the имена of letters.",
	additional = "Ideally entries should be in a subcategory for the имена of letters in a particular script.",
	parents = {"имена", "слова, симболи и интерпункције"},
}

-- Handler for "SCRIPT letter имена".
table.insert(handlers, function(label)
	local script = label:match("^(.*) имена слова$")
	if script then
		local sc = require("Модул:scripts").getByCanonicalName(script)
		if sc then
			local script_page
			local appendix = ("Додатак: %s текст"):format(script)
			local appendix_title = mw.title.new(appendix)
			if appendix_title and appendix_title.exists then
				script_page = appendix
			else
				script_page = "w:" .. sc:getWikipediaArticle()
			end
			local link = ("[[%s|%s текст]]"):format(script_page, script)
			return {
				type = "name",
				description = ("{{{langname}}} terms that serve as имена for letters and symbols directly based on letters, " ..
					"such as [[ligature]]s and letters with [[diacritic]]s, of the %s."):format(link),
				parents = {"имена слова"},
			}
		end
	end
end)


labels["couple nickимена"] = {
	type = "name",
	description = "{{{langname}}} informal имена for pairs of people, especially [[celebrity]] [[couple]]s.",
	additional = "For fictional relationships, see [[:Category:Ships (fandom)]].",
	parents = {"nickимена", "people"},
}

labels["country nickимена"] = {
	type = "name",
	description = "{{{langname}}} informal имена for [[country|countries]].",
	parents = {"nickимена", "countries"},
}

labels["foreign personal имена"] = {
	type = "name",
	description = "Transliterations, respellings or other renderings of personal имена into {{{langname}}}.",
	umbrella = {
		description = "Transliterations, respellings or other renderings of personal имена.",
	},
	parents = {"имена"},
}

labels["named prayers"] = {
	type = "name",
	description = "=[[specific]] [[prayer]]s",
	parents = {"имена", "prayer"},
}

labels["named roads"] = {
	type = "name",
	description = "=[[individually]]-[[named]] [[roads]]",
	parents = {"имена", "roads"},
}

labels["nickимена"] = {
	type = "name",
	description = "{{{langname}}} terms that are informal имена or diminutives of specific entities (people, places, etc.)",
	parents = {"имена"},
}

labels["nickимена of individuals"] = {
	type = "name",
	description = "{{{langname}}} terms that are informal имена for specific individuals (e.g. [[J-Lo]] for singer {{w|Jennifer Lopez}}).",
	parents = {"individuals", "nickимена"},
}

labels["racist имена for countries"] = {
	type = "name",
	description = "{{{langname}}} racist имена for [[country|countries]].",
	parents = {"country nickимена", "racist имена for places"},
}

labels["racist имена for places"] = {
	type = "name",
	description = "{{{langname}}} racist имена for places.",
	parents = {"nickимена"},
}

labels["sports nickимена"] = {
	type = "name",
	description = "{{{langname}}} informal имена for people or teams involved in sports.",
	parents = {"nickимена", "sports"},
}

labels["taxonomic имена"] = {
	type = "name",
	description = "default",
	parents = {"имена", "taxonomy"},
}

return {LABELS = labels, HANDLERS = handlers}