Module:compound/templates: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local export = {} local m_compound = require("Module:compound") local m_languages = require("Module:languages") local m_debug = require("Module:debug") local rsplit = mw.tex...")
 
No edit summary
Line 3: Line 3:
local m_compound = require("Module:compound")
local m_compound = require("Module:compound")
local m_languages = require("Module:languages")
local m_languages = require("Module:languages")
local m_debug = require("Module:debug")


local rsplit = mw.text.split
local rsplit = mw.text.split
Line 124: Line 123:
end
end
if not (term or alt or tr or ts) then
if term or alt or tr or ts then
require("Module:debug").track(template .. "/no term or alt or tr")
return nil
else
return { term = term, alt = alt, id = id, lang = lang, sc = sc, tr = tr,
return { term = term, alt = alt, id = id, lang = lang, sc = sc, tr = tr,
ts = ts, gloss = gloss, pos = pos, lit = lit, q = q,
ts = ts, gloss = gloss, pos = pos, lit = lit, q = q,

Navigation menu