Module:EmojiWiktionaryCheck
--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
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.