模組:Category tree/poscatboiler/data/miscellaneous/sandbox


此數據子模塊定義了維基詞典分類結構的一部分。

關於poscatboiler系統的介紹以及如何添加或更改分類,請參見Module:category tree/poscatboiler/data/documentation


local labels = {}
local raw_categories = {}



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


-- Appendices

labels["appendices"] = {
	description = "Pages containing additional information about {{{langname}}}.",
	parents = {{name = "{{{langcat}}}", raw = true}},
	umbrella = {
		description = "Categories with pages containing additional information about a given language.",
		parents = {"Category:Appendices"},
		breadcrumb = "By language",
	},
}


-- Citations

labels["citations"] = {
	description = "Pages documenting instances of actual usage of {{{langname}}} terms.",
	parents = {{name = "{{{langcat}}}", raw = true}},
	umbrella = {
		description = "Categories with pages documenting instances of actual usage of terms in a given language.",
		parents = {"Category:Citations"},
		breadcrumb = "Citations by language",
	},
}

labels["citations of undefined terms"] = {
	description = "Pages documenting instances of actual usage of {{{langname}}} terms, but for which the term is not defined yet.",
	additional = "Citation pages in {{{langname}}} are automatically added here when any of the corresponding entries is a redlink. You can also add citation pages to this category manually when the entry exists but it has not a(n) {{{langname}}} section yet or has not been defined in that specific meaning. Before removing a page from this category, please verify that all citations relate to senses properly defined in the entry.",
	parents = {"citations"},
	umbrella = {
		description = "Categories with pages documenting instances of actual usage of terms in a given language, but for which the term is not defined yet.",
		parents = {"Requests", "Category:Citations"},
		breadcrumb = "Citations of undefined terms by language",
	},
	can_be_empty = true,
	hidden = true,
}


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


raw_categories["分类"] = {
	intro = "{{sisterlinks|Category:CommonsRoot}}",
	description = "This page is the top-level category, under which all categories at Wiktionary should lie.",
	additional = "Note that most categories are in [[:Category:All topics]] or under individual [[:Category:All languages|languages]].",
}

raw_categories["Umbrella metacategories"] = {
	description = "This page contains '''umbrella metacategories''', which group umbrella categories under high-level topics.",
	additional = "Umbrella categories in turn group language-specific categories devoted to particular low-level topics.",
	parents = {"分类"},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}