Module:category tree/topic cat/data/Buildings and structures: Difference between revisions

From Linguifex
Jump to navigation Jump to search
Melinoë (talk | contribs)
Created page with "local labels = {} labels["buildings and structures"] = { type = "type", description = "=buildings and structures", parents = {"architecture"}, } labels["animal dwellings"] = { type = "type", description = "default", parents = {"buildings and structures", "zoology"}, } labels["bridges"] = { type = "type", description = "default", parents = {"buildings and structures"}, } labels["buildings"] = { type = "type", description = "default", parents = {"bu..."
 
m top: clean up
 
Line 3: Line 3:
labels["buildings and structures"] = {
labels["buildings and structures"] = {
type = "type",
type = "type",
description = "=[[building]]s and [[structure]]s",
description = "=[[wikt:building|building]]s and [[wikt:structure|structure]]s",
parents = {"architecture"},
parents = {"architecture"},
}
}
Line 57: Line 57:
labels["walls and fences"] = {
labels["walls and fences"] = {
type = "type",
type = "type",
description = "=[[wall]]s and [[fence]]s",
description = "=[[wikt:wall|wall]]s and [[wikt:fence|fence]]s",
parents = {"buildings and structures"},
parents = {"buildings and structures"},
}
}
Line 63: Line 63:
labels["toilet (room)"] = {
labels["toilet (room)"] = {
type = "related-to",
type = "related-to",
description = "=[[flush toilet]]s or rooms containing flush toilets",
description = "=[[wikt:flush toilet|flush toilet]]s or rooms containing flush toilets",
parents = {"hygiene", "rooms"},
parents = {"hygiene", "rooms"},
}
}


return labels
return labels

Latest revision as of 21:27, 22 May 2026


This data submodule defines part of Wiktionary's category structure.

For an introduction to the category tree system and a description of how to add or modify categories, see Module:category tree/documentation.


local labels = {}

labels["buildings and structures"] = {
	type = "type",
	description = "=[[wikt:building|building]]s and [[wikt:structure|structure]]s",
	parents = {"architecture"},
}

labels["animal dwellings"] = {
	type = "type",
	description = "default",
	parents = {"buildings and structures", "zoology"},
}

labels["bridges"] = {
	type = "type",
	description = "default",
	parents = {"buildings and structures"},
}

labels["buildings"] = {
	type = "type",
	description = "default",
	parents = {"buildings and structures"},
}

labels["pyramids"] = {
	type = "set,related-to",
	description = "default",
	parents = {"buildings"},
}

labels["rooms"] = {
	type = "type",
	description = "default",
	parents = {"buildings and structures"},
}

labels["kitchen"] = {
	type = "related-to",
	description = "default",
	parents = {"rooms", "cooking"},
}

labels["ports and harbours"] = {
	type = "related-to",
	description = "default",
	parents = {"buildings and structures", "nautical", "commerce"},
}

labels["shops"] = {
	type = "type",
	description = "default",
	parents = {"buildings", "businesses"},
}

labels["walls and fences"] = {
	type = "type",
	description = "=[[wikt:wall|wall]]s and [[wikt:fence|fence]]s",
	parents = {"buildings and structures"},
}

labels["toilet (room)"] = {
	type = "related-to",
	description = "=[[wikt:flush toilet|flush toilet]]s or rooms containing flush toilets",
	parents = {"hygiene", "rooms"},
}

return labels