模組:Category tree/poscatboiler/data/modules


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

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


local labels = {}
local raw_categories = {}



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


labels["模塊"] = {
	description = "{{{langname}}}的[[模塊]]/[[模組]],包含可重用的Lua脚本,便於建立和管理詞條。",
	umbrella = {
		parents = {{name = "模塊", sort = " "}},
		breadcrumb = "各語言",
	},
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["資料模塊"] = {
	description = "{{{langname}}} [[Wiktionary:Modules|modules]] containing data used by other modules.",
	umbrella = {
		parents = {{name = "資料模塊", sort = " "}},
		breadcrumb = "各語言",
	},
	parents = {"模塊"},
}



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


raw_categories["模塊"] = {
	description = "This is a general holder category for modules.",
	additional = "For more information on what modules are and how they work, see [[Wiktionary:Scribunto]]. For a complete list of all modules, see [[Special:PrefixIndex/Module:|here]].",
	parents = {"Category:維基詞典"},
}

raw_categories["未分類模塊"] = {
	description = "Uncategorized modules.",
	additional = "Modules are placed here by [[MediaWiki:Scribunto-doc-page-does-not-exist]]. The default documentation page, [[Template:documentation/preloadModule]], also adds this category.",
	parents = { {name = "模塊", sort = " "} },
}

raw_categories["模塊單元測試"] = {
	description = "模塊的單元測試。",
	parents = { {name = "模塊", sort = "1測試模塊"} },
}

raw_categories["附錄模塊"] = {
	description = "Modules with functions that generate content for or extract information from pages in the Appendix namespace.",
	parents = { "模塊" },
}

raw_categories["Bot support modules"] = {
	description = "Modules for supporting individual bot accounts.",
	parents = { "模塊" },
}

raw_categories["分類模塊"] = {
	intro = "{{also|:Category:Category templates}}",
	description = "Modules for adding categories to pages or generating the description and subcategories of category pages.",
	parents = { "模塊" },
}

raw_categories["資料模塊"] = {
	description = "不包含功能的模塊,僅導出其他模塊使用的資料。此類中的模塊應使用<code>mw.loadData</code>而<code>require</code>。",
	parents = { "模塊" },
}

raw_categories["Character insertion data modules"] = {
	description = "Modules containing data for use by {{temp|chars}}.",
	parents = { "資料模塊" },
	breadcrumb = "character insertion",
}

raw_categories["Debugging modules"] = {
	description = "Modules used for debugging.",
	additional = "Some should only be used in sandbox modules or when using the [[mw:Extension:TemplateSandbox|{{MediaWiki:Templatesandbox-editform-legend}}]] button in the edit page of modules and templates.",
	parents = { "Lua metamodules", "Modules" },
}

raw_categories["定義模塊"] = {
	description = "Modules that fuel templates that are used in [[Wiktionary:Glossary#definition line|definition lines]] of entries.",
	parents = { "模塊" },
}

raw_categories["棄用模塊"] = {
	description = "Modules that should not be used, as their functions are performed by newer modules.",
	parents = { "模塊", "Category:Wiktionary maintenance" },
}

raw_categories["討論模塊"] = {
	description = "Modules concerning discussion pages.",
	parents = { "模塊" },
}

raw_categories["文檔模塊"] = {
	description = "Modules for generating documentation pages.",
	parents = { "模塊" },
}

raw_categories["Entry-generating modules"] = {
	description = "Modules with functions that are used to generate new entries.",
	parents = { "模塊" },
}

raw_categories["詞源模塊"] = {
	description = "Modules that fuel templates that define the etymology of entries.",
	parents = { "模塊" },
}

raw_categories["之形式模塊"] = {
	description = "Modules that generate the definition line of non-lemma forms, e.g. verb forms and noun forms.",
	parents = { "定義模塊", "模塊" },
}

raw_categories["通用模塊"] = {
	description = "Modules that serve some sort of utility purpose in various entries but are used by multiple languages. Modules only used by one language should be at [[:Category:Utility modules]].",
	parents = { "模塊" },
}

raw_categories["標題行模塊"] = {
	description = "Modules that support [[:Category:Headword-line templates by language|headword-line templates]] for a specific language.",
	additional = "See also [[:Category:Headword-line templates]].",
	parents = { "模塊" },
}

raw_categories["屈折模塊"] = {
	description = "用於支援特定語言的[[:Category:變格表模板|屈折模板]]的模塊。",
	parents = { "模塊" },
}

labels["測試用例模塊"] = {
	description = "{{{langname}}} [[testcase]] [[Wiktionary:Modules|modules]], which contain Lua code for testing other modules.",
	umbrella = {
		parents = {{name = "Testcase modules", sort = " "}},
		breadcrumb = "各語言",
	},
	breadcrumb = "測試用例",
	parents = {"模塊"},
}

raw_categories["內鏈模塊"] = {
	description = "Modules that are used in [[:Category:Internal link templates|internal link templates]].",
	parents = { "通用模塊", "模塊" },
}

raw_categories["JSON-generating modules"] = {
	description = "Modules with functions that generate data in JSON format.",
	parents = { "模塊" },
}

raw_categories["語言和文字模塊"] = {
	description = "Modules that process language and script codes and return data on them.",
	parents = { "模塊" },
}

raw_categories["列表模塊"] = {
	description = "Modules that generate lists and tables of entries.",
	parents = { "模塊" },
}

raw_categories["Lua元模塊"] = {
	description = "Modules that have exported functions that are only used by other modules: that is, cannot be called using {{temp|#invoke:}}.",
	parents = { "模塊" },
}

raw_categories["維護模塊"] = {
	description = "Modules that fuel templates used for maintaining entries, such as cleanup templates (e.g. {{temp|attention}}), deletion templates (e.g. {{temp|rfd}}) and verification templates (e.g. {{temp|rfv}}).",
	parents = { "模塊" },
}

raw_categories["發音模塊"] = {
	description = "Modules that fuel templates that are used to create the language-specific pronunciation of entries.",
	parents = { "模塊" },
}

raw_categories["引文和使用例模塊"] = {
	description = "Modules that fuel templates that are used to format quotations and usage examples.",
	parents = { "Definition modules", "Modules" },
	breadcrumb = "quotation and usage example",
}

raw_categories["參考模塊"] = {
	description = "Modules that are used for [[:Category:Reference templates|reference templates]].",
	parents = { "模塊" },
}

raw_categories["沙盒模塊"] = {
	description = "Test versions of modules intended for production use.",
	parents = { "模塊" },
}

raw_categories["排序鍵生成模塊"] = {
	description = "用於生成排序鍵的模塊。",
	additional = "排序鍵決定條目在分類中的順序。",
	parents = { "模塊" },
}

raw_categories["斯氏核心詞模塊"] = {
	description = "收錄[[w:斯瓦迪士核心詞列表|斯氏核心詞]]的模塊。",
	parents = { "模塊" },
}

raw_categories["模板介面模塊"] = {
	description = "Modules whose purpose is to provide an interface between templates and the functions of a module.",
	additional = "They are usually named <code>.../templates</code>, and the functions present within them usually all have only a \"frame\" parameter.",
	parents = { "模塊" },
}

raw_categories["追蹤模塊"] = {
	description = "Modules that add tracking templates.",
	parents = { "模塊" },
}

raw_categories["轉寫模塊"] = {
	description = "Modules that automatically convert text in one script to another.",
	additional = "Most of them convert non-Latin scripts to Latin (romanisation/romanization), and are used by " ..
	"templates or modules to generate transliteration of text that is tagged with a particular language. Each " ..
	"language's transliteration module is specified in its data table (for which, see the category {{catlink|Language data modules}}).",
	parents = { "模塊" },
}

raw_categories["轉寫測試用例模塊"] = {
	description = "Modules used to test other transliteration modules.",
	parents = { "測試用例模塊", {name = "轉寫模塊", sort = "Testcase"} },
}

raw_categories["未使用模塊"] = {
	description = "未使用的模塊。",
	parents = { "模塊" },
}

raw_categories["User sandbox modules"] = {
	description = "Modules that are for personal use and testing by individual editors.",
	additional = "These should all begin with <code>User:</code> followed by the user's name. If several sandbox modules are needed by a single user, subpages can be created. These modules should not be used in real Wiktionary content pages, as all content on those pages should be editable by anyone and, if necessary, edit protected.",
	parents = { "沙盒模塊", "模塊" },
}

raw_categories["功能模塊"] = {
	description = "在條目中提供某種功能的模塊。",
	additional = "避免直接分類到此分類,而是使用更具體(且" ..
	"語義上定義良好)的模塊分類。另請注意,如有必要,多種語言使用的模塊應直接歸入此分類" ..
	",而僅一種語言使用的模塊應歸入[[:Category:特定語言的實用程式模組]]。",
	parents = { "模塊" },
}

raw_categories["特定語言功能模塊"] = {
	description = "處理某種語言所需的多個功能的模塊。",
	additional = "通常它們的名稱以 {{cd|-utilities}} 或 {{cd|-common}} 結尾(前面是語言代碼)" ..
	"儘管某語言所使用的、為具體功能的模塊也可能駐留在此處。" ..
	"如果一個功能被多種語言使用,則應該將它移動至[[:Category:功能模塊]]中。",
	parents = {{name = "功能模塊", sort = " "}},
}

raw_categories["投票模塊"] = {
	description = "Modules used to manage Wiktionary votes.",
	parents = { "模塊" },
}

raw_categories["Wikitext parsing modules"] = {
	description = "Modules that contain functions that grab the wikitext of a page and get information from it by performing string operations on it.",
	parents = { "模塊" },
}

return {LABELS = labels, RAW_CATEGORIES = raw_categories}