Module:category tree/poscatboiler/data/lang-specific/et

local labels = {} local handlers = {}

--- Nominal categories ---

labels["nominals by inflection type"] = { description = " nouns and adjectives categorized by their inflection type.", breadcrumb = "by inflection type", preceding = "", parents = { {name = "nouns", sort = "inflection type"}, {name = "adjectives", sort = "inflection type"}, }, }

table.insert(handlers, function(data)	local nomtype = data.label:match("^(.*)%-type nominals$")	if nomtype then		return {			description = (" %s-type nominals."):format(nomtype),			additional = ("Terms are added to this category using et-decl-%s."):format(nomtype),			breadcrumb = {name = ("%s-type"):format(nomtype), nocap = true},			parents = {"nominals by inflection type"},		}	end end)

labels["irregular nominals"] = { description = " nominals that follow non-standard patterns of declension.", breadcrumb = "irregular", parents = {"nouns", "adjectives", "pronouns", {name = "irregular nouns", lang = false}, {name = "irregular adjectives", lang = false}, }, }

for _, pos in ipairs { "adjectives", "nouns" } do labels[pos .. " that lack declension type"] = { description = " " .. pos .. " that lack declension type.", parents = {"entry maintenance"}, hidden = true, can_be_empty = true, } end

--- Verbal categories ---

labels["verbs by inflection type"] = { description = " verbs categorized by their inflection type.", breadcrumb = "by inflection type", preceding = "", parents = { {name = "verbs", sort = "inflection type"}, {name = "verbs by inflection type", lang = false}, }, }

table.insert(handlers, function(data)	local verbtype = data.label:match("^(.*)%-type verbs$")	if verbtype then		return {			description = (" %s-type verbs."):format(verbtype),			additional = ("Terms are added to this category using et-conj-%s."):format(verbtype),			breadcrumb = {name = ("%s-type"):format(verbtype), nocap = true},			parents = {"verbs by inflection type"},		}	end end)

--- Misc categories ---

labels["entries with inflection not matching pagename"] = { description = " entries which have an inflection table whose lemma form does not match the page name.", additional = "This is usually the result of incorrect or missing parameters.", breadcrumb = "inflection not matching pagename", parents = , hidden = true, can_be_empty = true, }

return {LABELS = labels, HANDLERS = handlers}