Module:category tree/fam/wasc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
labels["human nouns"] = {
labels["human nouns"] = {
description = "{{{langname}}} nouns which cause human agreement.",
description = "{{{langname}}} nouns which cause human agreement.",
breadcrumb = class,
breadcrumb = "human", -- Note: changed 'class' to a string to avoid a Lua error
parents = {"nouns by class"},
parents = {"nouns by class"},
umbrella = false,
umbrella_parents = "Nouns by class by language", -- Adds the umbrella category to this parent
}
}


Line 12: Line 12:
breadcrumb = "agent",
breadcrumb = "agent",
parents = {"human nouns"},
parents = {"human nouns"},
umbrella_parents = "Human nouns by language", -- Optional: If you want to structure the agent umbrella the same way
}
}


return {LABELS = labels}
return {LABELS = labels}

Revision as of 19:41, 8 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["human nouns"] = {
	description = "{{{langname}}} nouns which cause human agreement.",
	breadcrumb = "human", -- Note: changed 'class' to a string to avoid a Lua error
	parents = {"nouns by class"},
	umbrella_parents = "Nouns by class by language", -- Adds the umbrella category to this parent
}

labels["agent nouns"] = {
	description = "{{{langname}}} nouns derived with agentivizers.",
	breadcrumb = "agent",
	parents = {"human nouns"},
	umbrella_parents = "Human nouns by language", -- Optional: If you want to structure the agent umbrella the same way
}

return {LABELS = labels}