Module:nyms: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
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="' .. string.lower(data.label) .. '"><span class="nyms-label">' .. data.label .. '</span>' .. table.concat(links, ", ") .. '</span>'
return '<span class="nyms" data-label="' .. string.lower(data.label) .. '"><span class="nyms-label">' .. data.label .. ':</span> ' .. table.concat(links, ", ") .. '</span>'
end
end