Module:Category tree/poscatboiler/data/lang-specific/fr


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 = {}
local handlers = {}

labels["來自《拉封丹寓言》的詞"] = {
	displaytitle = "{{{langname}}} terms derived from the ''Fables'' of Jean de La Fontaine",
	parents = {{name = "terms attributed to a specific source", sort = "Fables of Jean de La Fontaine"}},
	description = "{{{langname}}} terms derived from the ''Fables'' of {{w|Jean de La Fontaine}}.",
	breadcrumb = "the ''Fables'' of Jean de La Fontaine",
}

labels["1990年前拼寫"] = {
	description = "{{{langname}}}在[[Appendix:法語1990年拼寫改革|1990年拼寫改革]]之前的拼寫形式,特別是那些大部分已被各自改革後拼寫所取代的形式。",
	additional = "此分類由{{tl|fr-pre-1990}}產生。",
	parents = {{ name = "依正字法屬性分類的詞", sort = "1990" }},
	breadcrumb = "1990年前",
}

labels["1990年後拼寫"] = {
	description = "[[Appendix:法語1990年拼寫改革|1990年拼寫改革]]後的{{{langname}}}拼寫。",
	additional = "此分類由{{tl|fr-post-1990}}產生。",
	parents = {{ name = "依正字法屬性分類的詞", sort = "1990 " }},
	breadcrumb = "1990年前",
}

labels["1990年後拼寫名詞複數形式"] = {
	description = "{{{langname}}} plural forms which were changed in form, not just spelling, in the [[Appendix:French spelling reforms of 1990|1990 spelling reform]].",
	additional = "此分類由{{tl|fr-post-1990-plural}}產生。",
	parents = "1990年後拼寫",
	breadcrumb = "1990年後複數",
}

labels["第一組動詞"] = {
	description = "{{{langname}}}第一組動詞,也稱為規則 {{m|fr||-er}} 動詞。這是法語三個主要動詞組當中最大的類別。",
	additional = "另見 [[:Category:法語第二組動詞]](規則 {{m|fr||-ir}} 動詞)和 [[:Category:法語第三組動詞]](不規則動詞)。",
	parents = "依屈折分類的動詞",
	breadcrumb = "第一組",
}

labels["第二組動詞"] = {
	description = "{{{langname}}}第二組動詞,也稱為規則 {{m|fr||-ir}} 動詞。",
	additional = "另見[[:Category:法語第一組動詞]](規則 {{m|fr||-er}} 動詞)和 [[:Category:法語第三組動詞]](不規則動詞)。",
	parents = "依屈折分類的動詞",
	breadcrumb = "第二組",
}

labels["第三組動詞"] = {
	description = "{{{langname}}}第三組動詞,也稱為[[Appendix:法語不規則動詞|不規則動詞]]。其不定式通常以 {{m|fr||-ir}}、{{m|fr||-oir}}、{{m|fr||-or}} 結尾。",
	additional = "另見[[:Category:法語第一組動詞]](規則 {{m|fr||-er}} 動詞)和 [[:Category:法語第二組動詞]](規則 {{m|fr||-ir}} 動詞)。",
	parents = "依屈折分類的動詞",
	breadcrumb = "第三組",
}

table.insert(handlers, function(data)
	local conj = data.label:match("^帶變位(.*)的動詞$")
	if conj then
		return {
			description = ("變位形式為 {{m|fr|%s%s}} 的{{{langname}}}動詞。"):format(
				-- Link actual verbs, but just italicize suffixes, most of which aren't defined.
				conj:find("^%-") and "|" or "", conj),
			displaytitle = ("帶變位 {{m|fr||%s}} 的{{{langname}}}動詞"):format(conj),
			breadcrumb = {name = ("{{m|fr||%s}}"):format(conj), nocap = true},
			parents = {"依屈折分類的動詞"},
		}
	end
end)


return {LABELS = labels, HANDLERS = handlers}
Category:Category tree資料模塊/poscatboiler Category:法語模塊 Category:法語資料模塊