Module:category tree/topic cat/hierarchy

Wiktionary වෙතින්

The tree is in Module:category tree/topic cat/hierarchy/documentation.


local export = {}

local function link(name)
	return "[[:ප්‍රවර්ගය:" .. mw.language.new("si"):ucfirst(name) .. "|" .. name .. "]]"
end

function export.show(frame)
	local data = require("Module:category tree/topic cat/data")["LABELS"]
	local name = "parents"
	local exempt = {
		["කුලක ලැයිස්තුව"] = true,
		["මාතෘකා ලැයිස්තුව"] = true,
		["political subdivisions"] = true,
		["cities"] = true,
	}
	return require("Module:hierarchy").show(data, name, link, exempt)
end

return export
"https://si.wiktionary.org/w/index.php?title=Module:category_tree/topic_cat/hierarchy&oldid=32522" වෙතින් සම්ප්‍රවේශනය කෙරිණි