Module:columns: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 19: Line 19:
local out = '<div class="ul-columns" data-column-count="' .. data.columns .. '">'
local out = '<div class="ul-columns" data-column-count="' .. data.columns .. '">'
for _, term in ipairs(data.terms) do
for _, term in ipairs(data.terms) do
out = out .. '\n* ' .. m_links.full_link{term = term.term, language = data.language, alt = term.alt, gloss = text.gloss, pos = text.pos}
out = out .. '\n* ' .. m_links.full_link{term = term.term, language = data.language, alt = term.alt, gloss = term.gloss, pos = term.pos}
end
end
return out .. '\n</div>'
return out .. '\n</div>'