Module:head/languages/lfv: Difference between revisions
< Module:head | languages
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
local m_head_languages = require("Module:head/languages") | local m_head_languages = require("Module:head/languages") | ||
local lfv = require("Module:languages").get_by_code("lfv") | local lfv = require("Module:languages").get_by_code("lfv") | ||
local inflection_params = { | local inflection_params = { | ||
adjective = { | adjective = { | ||
Line 41: | Line 35: | ||
} | } | ||
function export. | function export.show(frame) | ||
return m_head_languages.do_language_head(lfv, frame.args[1], inflection_params, frame:getParent().args) | |||
end | end | ||
return export | return export |
Revision as of 10:55, 12 August 2023
Documentation for this module may be created at Module:head/languages/lfv/documentation
local export = {}
local m_head_languages = require("Module:head/languages")
local lfv = require("Module:languages").get_by_code("lfv")
local inflection_params = {
adjective = {
{param = "pl", label = "plural", glossary = true},
{param = "cmp", label = "comparative", glossary = true},
{param = "rel", label = "relative superlative", glossary = true},
{param = "abs", label = "absolute superlative", glossary = true},
{param = "ela", label = "elative", glossary = true},
{param = "pej", label = "pejorative", glossary = true},
},
adverb = {
{param = "cmp", label = "comparative", glossary = true},
{param = "rel", label = "relative superlative", glossary = true},
{param = "abs", label = "absolute superlative", glossary = true},
{param = "ela", label = "elative", glossary = true},
},
noun = {
{param = "du", label = "dual", glossary = true},
{param = "pl", label = "plural", glossary = true},
{param = "dim", label = "diminutive", glossary = true},
{param = "aug", label = "augmentative", glossary = true},
{param = "pej", label = "pejorative", glossary = true},
},
verb = {
{param = "pfv", label = "perfective", glossary = true},
{param = "impfv", label = "imperfective", glossary = true},
{param = "pres-3s", label = "3rd person singular present"},
{param = "rem-3s", label = "3rd person singular remote past"},
{param = "pass", label = "passive participle"},
},
}
function export.show(frame)
return m_head_languages.do_language_head(lfv, frame.args[1], inflection_params, frame:getParent().args)
end
return export