Module:Unicode chart/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 83:
-- Sundry small functions
-------------------------
local function expandTemplate(template, argslist)
return frame:expandTemplate{
title = template,
args = argslist
}
end
 
local function fromHex(hexStr)
return tonumber(hexStr, 16)
end
 
local function splitColonList(strList)
local tab = {}
Line 93 ⟶ 104:
end
return tab
end
 
local function expandTemplate(template, argslist)
return frame:expandTemplate{
title = template,
args = argslist
}
end
 
local function fromHex(hexStr)
return tonumber(hexStr, 16)
end