Module:Unicode chart/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 169:
local unicodeChar = '&#x'.. codepoint.hex .. ';'
if args['link'] == "wiki" then
local redir =if mRedirect.luaMainluaIsRedirect(unicodeChar,) false)then
if local redir == mRedirect.luaMain(unicodeChar, thenfalse)
-- unicodeChar = '[[' .. redir .. '|' .. unicodeChar .. ']]'
else
unicodeChar = unicodeChar .. '<span class="red">' .. redir .. '</span>'
end
--if string.find(redir, "page does not exist") then--redir ~= unicodeChar then
-- unicodeChar = '[[' .. redir .. '|' .. unicodeChar .. ']]'
--end
--unicodeChar = expandTemplate('Link if exists', {unicodeChar})
elseif args['link'] == "wikt" then