မေႃႇၵျူး:category tree/lang/fy
Appearance
Documentation for this module may be created at မေႃႇၵျူး:category tree/lang/fy/doc
local labels = {}
local handlers = {}
local lang = require("Module:languages").getByCode("fy")
labels["verbs by derivation type"] = {
description = "West Frisian verbs categorized by the type of derivation.",
parents = {{name = "verbs", sort = "derivation"}},
}
labels["basic verbs"] = {
description = "This category contains West Frisian verbs that are neither prefixed nor separable.",
parents = {{name = "verbs by derivation type", sort = "basic"}},
}
labels["prefixed verbs"] = {
description = "This category contains West Frisian prefixed verbs, which are verbs that are compounded with an unstressed prefix, such as " ..
"{{m|fy|be-}}.",
parents = {{name = "verbs by derivation type", sort = "prefixed"}},
}
labels["separable verbs"] = {
topright = "{{wikipedia|Separable verb}}",
description = "This category contains West Frisian separable verbs, which are verbs that are compounded with a particle, " ..
"often an adverb. When the particle is immediately followed by the verb form, it is written together with it as one word. " ..
"In other cases, it is separated from the main verb by a space and possibly other words.",
parents = {{name = "verbs by derivation type", sort = "separable"}},
}
table.insert(handlers, function(data)
local pref = data.label:match("^prefixed verbs with (.+%-)$")
if pref then
local link = require("Module:links").full_link({ lang = lang, term = pref }, "term")
local altlink = require("Module:links").full_link({ lang = lang, alt = pref }, "term")
return {
description = "West Frisian prefixed verbs with the prefix " .. link .. ".",
displaytitle = "West Frisian prefixed verbs with " .. altlink,
breadcrumb = altlink,
parents = {{name = "prefixed verbs", sort = pref}},
}
end
end)
table.insert(handlers, function(data)
local particle = data.label:match("^separable verbs with (.+)$")
if particle then
local link = require("Module:links").full_link({ lang = lang, term = particle }, "term")
local altlink = require("Module:links").full_link({ lang = lang, alt = particle }, "term")
return {
description = "West Frisian separable verbs with the particle " .. link .. ".",
displaytitle = "West Frisian separable verbs with " .. altlink,
breadcrumb = altlink,
parents = {{name = "separable verbs", sort = particle}},
}
end
end)
return {LABELS = labels, HANDLERS = handlers}