Module:gloss grid: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 41: Line 41:
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. ipa_temp .. '</td>')
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. ipa_temp .. '</td>')
elseif i == 1 then
elseif i == 1 then
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. (data.phonemic and "/ " or "[ ") .. '</td>')
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. (data.phonemic and "/" or "[") .. '</td>')
elseif i == term_count then
elseif i == term_count then
build('<td style="' .. cell_style .. '; text-align:right" class="IPA nolarge">' .. (data.phonemic and " /" or " ]") .. '</td>')
build('<td style="' .. cell_style .. '; text-align:right" class="IPA nolarge">' .. (data.phonemic and "/" or "]") .. '</td>')
else
else
build('<td />')
build('<td />')