Module:category tree/lang/lyti: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
breadcrumb = decl, | breadcrumb = decl, | ||
} | } | ||
end | |||
end | |||
labels["verbs by conjugation"] = { | |||
description = "{{{langname}}} verbs categorized by conjugation.", | |||
parents = {"verbs by inflection type"}, | |||
} | |||
for i, conj in ipairs{"first", "second", "third", "fourth"} do | |||
labels[conj .. " conjugation verbs"] = { | |||
description = "{{{langname}}} verbs of the " .. conj .. " conjugation.", | |||
parents = { | |||
{name = "verbs by conjugation", sort = conj}, | |||
}, | |||
breadcrumb = tostring(i), | |||
} | |||
end | |||
-- Add 'umbrella_parents' key if not already present. | |||
for key, data in pairs(labels) do | |||
if not data.umbrella_parents then | |||
data.umbrella_parents = "Terms by grammatical category subcategories by language" | |||
end | end | ||
end | end | ||
return {LABELS = labels} | return {LABELS = labels} | ||