Module:category tree/poscatboiler/data/terms by script

Vanuit Wiktionary, die vrye woordeboek.

Dokumentasie vir hierdie module kan geskep word by: Module:category tree/poscatboiler/data/terms by script/doc

local labels = {}
local handlers = {}

labels["terms by script"] = {
	description = "{{{langname}}} terms categorized by the script they are written in (for languages with multiple native scripts).",
	fundamental = "Terms by lexical property subcategories by language",
	parents = {"terms by orthographic property"},
}

table.insert(handlers, function(label)
	local script = label:match("^terms in (.+) script$")
	if script then
		return {
			description = "{{{langname}}} terms written in " .. script .. " script.",
			fundamental = "Terms by script subcategories by language",
			parents = {{
				name = "terms by script",
				sort = script,
			}},
		}
	end
end)

return {LABELS = labels, HANDLERS = handlers}