45,707
edits
(Created page with "local export = {} local m_p = require("Module:qhv-adj") local m_d = require("Module:qhv-adj/data") local PAGENAME = mw.title.getCurrentTitle().text function export.fetch(cas...") |
No edit summary |
||
Line 5: | Line 5: | ||
local PAGENAME = mw.title.getCurrentTitle().text | local PAGENAME = mw.title.getCurrentTitle().text | ||
function export.fetch( | function export.fetch(degree, term) | ||
local word = term or PAGENAME | local word = term or PAGENAME | ||
local data = {forms = {}, categories = {}} | local data = {forms = {}, categories = {}} | ||
Line 15: | Line 15: | ||
else m_d[decl](stem, data) end | else m_d[decl](stem, data) end | ||
return | return data.forms[degree] | ||
end | end | ||
return export | return export |