Module:gloss grid: Difference between revisions

Undo revision 31398 by TheNightAvl (talk)
No edit summary
Tag: Reverted
(Undo revision 31398 by TheNightAvl (talk))
Tag: Undo
Line 59: Line 59:
for i = 1, term_count do
for i = 1, term_count do
if data.glosses[i] then
if data.glosses[i] then
--build('<td style="' .. cell_style .. '">' .. mw.ustring.gsub(data.glosses[i], "([%d%u]+)", "<small>%1</small>") .. '</td>')
build('<td style="' .. cell_style .. '">' .. mw.ustring.gsub(data.glosses[i], "([%d%u]+)", "<small>%1</small>") .. '</td>')
build('<td style="' .. cell_style .. '; font-variant: small-caps">' .. data.glosses[i] .. '</td>')
else
else
build('<td />')
build('<td />')