Module:head/languages/lnk-pro: Difference between revisions
< Module:head | languages
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) (Created page with "local data = {} data["noun"] = { {param = "zero", label = "zero grade", nolink = true}, } data["verb"] = { {param = "zero", label = "zero grade", nolink = true}, } data["proper noun"] = data["noun"] data["numeral"] = data["noun"] return data") |
TheNightAvl (talk | contribs) No edit summary Tag: Manual revert |
||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
data["verb"] = { | data["verb"] = { | ||
{param = "zero", label = "zero grade", nolink = true}, | |||
} | |||
data["affix"] = { | |||
{param = "zero", label = "zero grade", nolink = true}, | |||
} | |||
data["adjective"] = { | |||
{param = "zero", label = "zero grade", nolink = true}, | |||
} | |||
data["root"] = { | |||
{param = "zero", label = "zero grade", nolink = true}, | {param = "zero", label = "zero grade", nolink = true}, | ||
} | } | ||
data["proper noun"] = data["noun"] | data["proper noun"] = data["noun"] | ||
data["pronoun"] = data["noun"] | |||
data["numeral"] = data["noun"] | data["numeral"] = data["noun"] | ||
data["prefix"] = data["affix"] | |||
data["suffix"] = data["affix"] | |||
data["infix"] = data["affix"] | |||
local root_types = {"verbal", "nominal", "adjectival", "numeral", "grammatical"} | |||
for _, root_type in ipairs(root_types) do | |||
data[root_type .. " root"] = data["root"] | |||
end | |||
return data | return data |
Latest revision as of 16:49, 29 May 2024
Documentation for this module may be created at Module:head/languages/lnk-pro/documentation
local data = {}
data["noun"] = {
{param = "zero", label = "zero grade", nolink = true},
}
data["verb"] = {
{param = "zero", label = "zero grade", nolink = true},
}
data["affix"] = {
{param = "zero", label = "zero grade", nolink = true},
}
data["adjective"] = {
{param = "zero", label = "zero grade", nolink = true},
}
data["root"] = {
{param = "zero", label = "zero grade", nolink = true},
}
data["proper noun"] = data["noun"]
data["pronoun"] = data["noun"]
data["numeral"] = data["noun"]
data["prefix"] = data["affix"]
data["suffix"] = data["affix"]
data["infix"] = data["affix"]
local root_types = {"verbal", "nominal", "adjectival", "numeral", "grammatical"}
for _, root_type in ipairs(root_types) do
data[root_type .. " root"] = data["root"]
end
return data