2,788
edits
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
table.insert(links, m_links.full_link{term = term, language = data.language}) | table.insert(links, m_links.full_link{term = term, language = data.language}) | ||
end | end | ||
return '<span class="nyms" data-label="' .. | return '<span class="nyms" data-label="' .. data.label .. '"><span class="nyms-label">' .. data.label:gsub("^%l", string.upper) .. ':</span> ' .. table.concat(links, ", ") .. '</span>' | ||
end | end | ||
function export. | function export.show(frame) | ||
local args = m_parameters.process(frame:getParent().args, params) | local args = m_parameters.process(frame:getParent().args, params) | ||
return export.make_nym_list{ | return export.make_nym_list{ | ||
label = | label = frame.args[1], | ||
language = m_languages.get_by_code(args[1]), | language = m_languages.get_by_code(args[1]), | ||
terms = args[2], | terms = args[2], |