--returns true if the emoji has a Wiktionary entry
local c2s = {}
function c2s.c2s( frame )
local getArgs = require('Module:Arguments').getArgs
local args = getArgs(frame)
--https://en.wiktionary.org/wiki/Category:Supplemental_Symbols_and_Pictographs_block
local emojis1 = '๐ค๐งธ๐ค๐ค๐ฅฒ๐ค๐คฏ๐ฅบ๐ฅฑ๐งต๐ฅถ๐ฅ๐ค๐ค๐คฆ๐ฅต๐ค๐คก๐ฅ๐ฅท๐ฆ๐งข'
--https://en.wiktionary.org/wiki/Category:Emoticons_block
local emojis2 = '๐บ๐ธ๐๐๐๐๐๐๐๐ฉ๐ฎ๐๐ฌ๐๐ ๐๐๐๐
๐๐๐๐๐๐๐๐ค๐ญ๐ฑ๐ณ๐ถ๐๐๐๐'
--https://en.wiktionary.org/wiki/Category:Miscellaneous_Symbols_and_Pictographs_block
local emojis3 = '๐พ๐๐ด๐ต๐๐๐๐ผ๐ณ๐ฟ๐ฉ๐ง๐ฌ๐ข๐๐๐๐ญ๐๐๐๐๐๐๐๐๐๐โ๐ง๐ฃ๐ค๐ฅ๐ฆ๐จ๐ช๐ฌ๐ฎ๐ถ๐น๐ฝ๐๐๐
๐๐๐๐๐ด๐ฝ๐๐๐ ๐ก๐ค๐ฅ๐จ๐ญ๐ฒ๐ต๐๐๐โพ๐๐๐๐๐๐๐๐๐๐๐๐๐ค๐ฅ๐ด๐ต๐๐
๐๐๐๐๐๐๐๐๐ก๐ข๐ค๐ฅ๐ฆ๐จ๐ฉ๐ช๐ซ๐ฏ$๐ธ๐ผ๐๐๐๐๐๐๐๐๐ ๐ข๐ฃ๐๐๐๐
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ฅ๐ง๐ช๐ฌ๐ญ๐ฐโเฅ๐๐๐ฏโ โ๐๐๐๐ค๐พ๐๐๐๐๐๐๐๐๐ฃ๐ฆ ๐ง๐ฎโโ๐ฟ'
--https://en.wiktionary.org/wiki/Category:Supplemental_Symbols_and_Pictographs_block
emojis4 = '๐ค๐งธ๐ค๐ค๐ฅฒ๐ค๐คฏ๐ฅบ๐ฅฑ๐งต๐ฅถ๐ฅ๐ค๐ค๐คฆ๐ฅต๐ค๐คก๐ฅ๐ฅท๐ฆ๐งข'
--https://en.wiktionary.org/wiki/Category:Symbols_and_Pictographs_Extended-A_block
emojis5 = '๐ชฉ๐ซก๐ช๐ซถ๐ซฐ๐ฉธ'
local emojis = emojis1 .. emojis2 .. emojis3 .. emojis4 .. emojis5
if emojis:match(args[1])
then
return true
else
return false
end
end
return c2s