وحدة:category tree/lang/mhr
المظهر
local labels = {}
local handlers = {}
local unpack = unpack or table.unpack -- Lua 5.2 compatibility
local function mark_ending(ending)
return (ending:gsub("<(.-)>", "{{m|mhr||%1|tr=-}}"))
end
--------------------------------- Verbs --------------------------------
for _, type_spec in ipairs {
{"I", "1", "ending in <-ына>, <-ыда>, <-ыт> in the present indicative plural and <-ш> in the third person singular present indicative"},
{"II", "2", "generally ending in <-ена>, <-еда>, <-ат> in the present indicative plural and a vowel in the third person singular present indicative"},
} do
local type, sort, ending = unpack(type_spec)
labels["type " .. type .. " conjugation verbs"] = {
description = "{{{langname}}} type " .. type .. " verbs, " .. mark_ending(ending) .. ".",
breadcrumb = "type " .. type,
parents = {{name = "verbs by inflection type", sort = sort}},
}
end
return {LABELS = labels, HANDLERS = handlers}