模組:Category tree/poscatboiler/data/lang-specific/fax


This module handles generating the descriptions and categorization for 法拉語 category pages of the format "法拉語 LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. 該模块是 poscatboiler 系統的一部分,該系統是用於生成分類頁面的描述和分類的通用框架。

有關更多資訊,請參閱Module:category tree/poscatboiler/data/lang-specific/doc

注意:如果您新增了特定語言的模块,請將語言代碼新增至 Module:category tree/poscatboiler/data/lang-specific 頂部的清單中,使程式碼能識別該模块。


local labels = {}

labels["verbs by conjugation"] = {
	description = "Fala verbs categorized by conjugation.",
	parents = {"verbs by inflection type"},
}

labels["verbs ending in -al"] = {
	description = "Fala first conjugation verbs, derived from Latin [[:Category:Latin first conjugation verbs|first conjugation (-āre) verbs]].",
	parents = {"verbs by conjugation"},
}

labels["verbs ending in -el"] = {
	description = "Fala second conjugation verbs, derived from Latin [[:Category:Latin second conjugation verbs|second conjugation (-ēre)]] or [[:Category:Latin third conjugation verbs|third conjugation (-ere)]] verbs.",
	parents = {"verbs by conjugation"},
}

labels["verbs ending in -il"] = {
	description = "Fala third conjugation verbs, derived from Latin [[:Category:Latin third conjugation verbs|third conjugation (-ere)]] or [[:Category:Latin fourth conjugation verbs|fourth conjugation (-īre)]] verbs.",
	parents = {"verbs by conjugation"},
}

-- Add labels for verbs with consonant alternations
labels["verbs by consonant alternation"] = {
	description = "{{{langname}}} verbs categorized by type of consonant alternation.",
	parents = {"verbs by inflection type"},
}

local consonant_alternations = {
	["c-qu"] = {"qu", "c"},
	["c-z"] = {"c", "z"},
	["g-gu"] = {"gu", "g"},
	["gu-gü"] = {"gü", "gu"},
}

for alt, frontback in pairs(consonant_alternations) do
	local desc
	local front, back = unpack(frontback)
	desc = "{{{langname}}} verbs whose final consonant alternates between ''" .. front .. "'' before front vowels (''e'', ''i'') " ..
		"and ''" .. back .. "'' before back vowels (''a'', ''o'', ''u'')."
	labels["verbs with " .. alt .. " alternation"] = {
		description = desc,
		displaytitle = "{{{langname}}} verbs with {{m|fax||" .. alt .. "}} alternation",
		parents = {{name = "verbs by consonant alternation", sort = alt}},
		breadcrumb = "{{m|fax||" .. alt .. "}}",
	}
end


return {LABELS = labels}