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

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


local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels["සංකේත"] = {
	description = "{{{langname}}} written signs.",
	umbrella_parents = "මූලධර්ම",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["diacritical marks"] = {
	description = "{{{langname}}} glyphs that are added to characters to modify their sounds or meanings.",
	parents = {"සංකේත"},
}

labels["හන් අනුලක්ෂණ"] = {
	description = "{{{langname}}} symbols of the Han logographic script, which can represent sounds or convey meanings directly.",
	topright = "{{wp|Chinese characters}}",
	parents = {"ලෝගෝග්‍රෑම"},
}

labels["ideograms"] = {
	description = "{{{langname}}} symbols that represent objects, ideas or concepts directly.",
	umbrella_parents = "මූලධර්ම",
	parents = {"සංකේත"},
}

labels["iteration marks"] = {
	description = "{{{langname}}} glyphs that act as a shorthand for repeated text.",
	parents = {"කෙටි යෙදුම්", "සංකේත"},
}

labels["අකුරු"] = {
	description = "{{{langname}}} symbols that represent single sounds. Variations of letters, such as letters with diacritics, should also be categorized here.",
	parents = {"සංකේත"},
}

labels["ligatures"] = {
	description = "{{{langname}}} letters that have been combined into a single graphical unit.",
	parents = {"සංකේත"},
}

labels["ලෝගෝග්‍රෑම"] = {
	description = "{{{langname}}} සංකේත, තනි වචන හෝ [[පදාණු]] වෙනුවෙන් පෙනී සිටින.",
	parents = {"සංකේත"},
}

labels["matched pairs"] = {
	description = "{{{langname}}} pairs of separate characters that are used together. Example: [[( )]].",
	parents = {"සංකේත"},
}

labels["සංඛ්‍යාංක සංකේත"] = {
	description = "{{{langname}}} symbols that represent numerals.",
	parents = {"සංකේත"},
}

labels["punctuation marks"] = {
	description = "{{{langname}}} symbols that indicate structure and organization of writing.",
	parents = {"සංකේත"},
}

labels["syllables"] = {
	description = "{{{langname}}} symbols that represent groups of sounds. Variations of syllables, such as syllables with diacritics, should also be categorized here.",
	parents = {"සංකේත"},
}

labels["multigraphs"] = {
	description = "{{{langname}}} symbols consisting of multiple letters.",
	parents = {"සංකේත"},
}

local function multigraph(name, n)
	labels[name] = {
		description = "{{{langname}}} symbols consisting of " .. n .. " letters.",
		parents = {"multigraphs"},
	}
end

multigraph("digraphs", "two")
multigraph("trigraphs", "three")
multigraph("tetragraphs", "four")
multigraph("pentagraphs", "five")
multigraph("hexagraphs", "six")
multigraph("heptagraphs", "seven")
multigraph("octagraphs", "eight")

-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "භාෂාව අනුව සංකේත උප ප්‍රවර්ග"
	end
end


-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["භාෂාව අනුව සංකේත උප ප්‍රවර්ග"] = {
	description = "සංකේත හා සබැඳි මාතෘකා අවරණය කරන ඡත්‍ර ප්‍රවර්ග.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"ඡත්‍ර මෙටා ප්‍රවර්ග",
		{name = "සංකේත", is_label = true, sort = " "},
	},
}

raw_categories["IPA symbols"] = {
	description = "Symbols which are part of the {{w|International Phonetic Alphabet}}.",
	additional = "For more information, see [[Wiktionary:About International Phonetic Alphabet]].",
	catfix = "mul",
	parents = {
		{name = "සංකේත", is_label = true, lang = "mul"},
	},
}

raw_categories["NAPA symbols"] = {
	description = "Symbols which are part of the {{w|Americanist phonetic notation|North American Phonetic Alphabet}}.",
	catfix = "mul",
	parents = {
		{name = "සංකේත", is_label = true, lang = "mul"},
	},
}

raw_categories["UPA symbols"] = {
	description = "Symbols which are part of the {{w|Uralic Phonetic Alphabet}}.",
	catfix = "mul",
	parents = {
		{name = "සංකේත", is_label = true, lang = "mul"},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}
"https://si.wiktionary.org/w/index.php?title=Module:category_tree/poscatboiler/data/symbols&oldid=186942" වෙතින් සම්ප්‍රවේශනය කෙරිණි