Module:category tree/lang/qhv: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
local labels = {} | local labels = {} | ||
----------------------------------------------------------------------------- | |||
-- -- | |||
-- NOUNS -- | |||
-- -- | |||
----------------------------------------------------------------------------- | |||
for _, pos in ipairs{"nouns", "proper nouns"} do | --------------------------------- Noun labels ------------------------------- | ||
for _, gender in ipairs{"lunar", " | for _, pos in ipairs{"nouns", "proper nouns", "pronouns"} do | ||
for _, gender in ipairs{"lunar", "aquatic", "solar", "terrestrial"} do | |||
labels[gender .. pos] = { | |||
description = "{{{langname}}} " .. pos .. " that belong to the " .. gender .. " gender or class.", | |||
parents = {pos .. " by gender"}, | |||
breadcrumb = gender, | |||
} | |||
end | |||
for i, decl_vowel in ipairs{"a", "y", "o", "e", "i"} do | |||
local num = tostring(i) | |||
local ordinal = require("Module:ConvertNumeric").spell_number(num, nil, nil, false, false, false, "ordinal") | |||
labels[ordinal .. "-declension " .. pos] = { | |||
description = "{{{langname}}} " .. pos .. " that belong to the " .. ordinal .. | |||
(i ~= 6 and "(or '''" .. decl_vowel .. "''-themed) " or " ") .. "declension class.", | |||
parents = {{name = pos .. " by inflection type", sort = num}}, | |||
breadcrumb = num, | |||
} | |||
end | end | ||
end | end | ||
----------------------------------------------------------------------------- | |||
-- -- | |||
-- ADJECTIVES -- | |||
-- -- | |||
----------------------------------------------------------------------------- | |||
------------------------------ Adjective labels ----------------------------- | |||
labels["adjectives of first declension"] = { | |||
description = "{{{langname}}} adjectives that belong to the first declension class.", | |||
parents = {{name = "adjectives by inflection type", sort = "1"}}, | |||
} | |||
labels["adjectives of second declension"] = { | |||
description = "{{{langname}}} adjectives that belong to the second declension class.", | |||
parents = {{name = "adjectives by inflection type", sort = "2"}}, | |||
} | |||
labels["adjectives of third declension"] = { | |||
description = "{{{langname}}} adjectives that belong to the third declension class.", | |||
parents = {{name = "adjectives by inflection type", sort = "3"}}, | |||
} | |||
labels["numerals of first declension"] = { | |||
description = "{{{langname}}} numerals that belong to the first declension class.", | |||
parents = {{name = "numerals by inflection type", sort = "1"}}, | |||
} | |||
labels["numerals of second declension"] = { | |||
description = "{{{langname}}} numerals that belong to the second declension class.", | |||
parents = {{name = "numerals by inflection type", sort = "2"}}, | |||
} | |||
labels["numerals of third declension"] = { | |||
description = "{{{langname}}} numerals that belong to the third declension class.", | |||
parents = {{name = "numerals by inflection type", sort = "3"}}, | |||
} | |||
labels["participles of first declension"] = { | |||
description = "{{{langname}}} participles that belong to the first declension class.", | |||
parents = {{name = "participles by inflection type", sort = "1"}}, | |||
} | |||
labels["participles of second declension"] = { | |||
description = "{{{langname}}} participles that belong to the second declension class.", | |||
parents = {{name = "participles by inflection type", sort = "2"}}, | |||
} | |||
labels["participles of third declension"] = { | |||
description = "{{{langname}}} participles that belong to the third declension class.", | |||
parents = {{name = "participles by inflection type", sort = "3"}}, | |||
} | |||
----------------------------------------------------------------------------- | |||
-- -- | |||
-- VERBS -- | |||
-- -- | |||
----------------------------------------------------------------------------- | |||
--------------------------------- Verb labels ------------------------------- | |||
labels["consonant-final verbs"] = { | |||
description = "{{{langname}}} verbs whose stems end in a consonant.", | |||
parents = {"verbs by inflection type"}, | |||
} | |||
labels["vowel-final verbs"] = { | |||
description = "{{{langname}}} verbs whose stems end in a vowel.", | |||
parents = {"verbs by inflection type"}, | |||
} | |||
labels["instrumental passive verbs"] = { | |||
description = "{{{langname}}} verbs that indicate actions, occurrences, or states directed from inanimate grammatical subjects, such as natural forces, inanimate objects, and instruments.", | |||
parents = {"verbs"}, | |||
} | |||
return {LABELS = labels} | return {LABELS = labels} | ||