Modul:category tree/topic cat/hierarchy

Dokumentacija za tutón modul hodźi so na Modul:category tree/topic cat/hierarchy/dokumentacija wutworić

local export = {}

local function link(name)
	return "[[:Kategorija:" .. mw.language.new("hsb"):ucfirst(name) .. "|" .. name .. "]]"
end

function export.show(frame)
	local data = require("Modul:category tree/topic cat/data")["LABELS"]
	local name = "parents"
	local exempt = {
		["list of sets"] = true,
		["list of topics"] = true,
		["political subdivisions"] = true,
		["cities"] = true,
	}
	return require("Modul:hierarchy").show(data, name, link, exempt)
end

return export