Content deleted Content added
No edit summary |
No edit summary |
||
Line 6:
local function unicodeChar(hex)
if unicodeLookupName(tonumber(hex, 16)):find("<reserved") then
return mw.html.create("
:addClass("reserved")
else
return
:wikitext('&#x'.. hex .. ';')
end
-- return frame:expandTemplate{
Line 36 ⟶ 38:
row:tag("th"):wikitext('U+'.. rowHex .. 'x')
for colIndex=0, 15 do
▲ unicodeChar(rowHex .. string.format("%X", colIndex))
end
end
|