Called by {{egl-adj}}
.
local m_utilities = require("Module:utilities")
local m_links = require("Module:links")
local m_hw = require("Module:headword")
local lang = require("Module:languages").getByCode("egl")
local infl = require("Module:egl-adj/data")
local export = {}
function export.show(frame)
local pos = frame.args
local parargs = frame:getParent().args
local params = {
= {list = true},
= {required = true},
= {required = true},
}
local args = require("Module:parameters").process(parargs, params)
local stem = args or "" -- might be left blank
local suffix = args
local data = {lang = lang, pos_category = pos, categories = {}, heads = args, inflections = {}}
table.insert(data.inflections, {label = "masculine plural", request = true, infl and stem .. infl.mp or nil})
table.insert(data.inflections, {label = "feminine", request = true, infl and stem .. infl.f or nil})
table.insert(data.inflections, {label = "feminine plural", request = true, infl and stem .. infl.fp or nil})
return m_hw.full_headword(data)
end
return export