模組:Category tree/poscatboiler/data/lang-specific/ang
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 = {}
--------------------------------- Nouns/Pronouns/Numerals --------------------------------
labels["輔音詞幹名詞"] = {
description = "Old English consonant stem nouns.",
additional = "Note that the stem class is named from the perspective of Proto-Germanic, and the stem suffix may no longer be visible synchronically.",
parents = {{name = "依屈折分類的名詞", sort = "consonant stem"}},
breadcrumb = "輔音詞幹",
}
labels["陽性a-詞幹名詞"] = {
description = "Old English masculine ''a-''stem nouns. These nouns have a genitive singular in ''-es'' and a nominative plural in ''-as''.",
parents = {{name = "a-詞幹名詞", sort = "masculine"}},
breadcrumb = "陽性",
}
labels["中性a-詞幹名詞"] = {
description = "Old English neuter ''a-''stem nouns. These nouns have a genitive singular in ''-es'' and a nominative plural that is either endingless (if the stem is heavy) or ending in ''-u'' (if the stem is light).",
parents = {{name = "a-詞幹名詞", sort = "neuter"}},
breadcrumb = "中性",
}
for _, pos in ipairs({"名詞"}) do
local sgpos = pos:gsub("s$", "")
for _, decl in ipairs { "a-", "i-", "n-", "nd-", "ō-", "u-", "z-" } do
labels[decl .. "stem " .. pos] = {
description = "Old English ''" .. decl .. "''stem " .. pos .. ".",
additional = "Note that the stem class is named from the perspective of Proto-Germanic, and the stem suffix may no longer be visible synchronically.",
breadcrumb = {name = decl .. "詞幹", nocap = true},
parents = {{
name = "依屈折分類的" .. pos,
sort = decl,
}},
}
end
end
for _, decl in ipairs({"n-"}) do
for _, gender in ipairs { "陽性", "陰性", "中性" } do
labels[gender .. decl .. "詞幹名詞"] = {
description = "Old English " .. gender .. " ''" .. decl .. "''stem nouns.",
breadcrumb = {name = gender},
parents = {{
name = decl .. "詞幹名詞",
sort = gender,
}},
}
end
end
return {LABELS = labels, HANDLERS = handlers}