Module:Unicode chart/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 9:
for rowIndex=startInt, endInt do
local row = tab:tag("tr")
row:tag("th"):wikitext('U+'..local rowHex = string.format("%x", rowIndex) .. 'x')
row:tag("th"):wikitext('U+'.. rowHex .. 'x')
for colIndex=0, 16 do
row:tag("td"):wikitext('&#x'.. rowHex .. string.format("%x", rowIndex + colIndex) .. ';')
end
end