Yiɣi chaŋ yɛligu maŋamaŋa puuni

Module:Sandbox/Urban Versis 32/WEmoji

Diyila Dagbani Wikipedia

Welcome to the home of WEmoji! To have an easier way to use WEmoji, go to Template:WEmoji. This module is for developers to access the actual program and code.

This is an project designed to make it easy for Wikipedians to send emojis to each other in a universal format in talk pages and user pages! The name stands for "Wikipedia Emoji".

THIS MODULE IS NOT TO ENCOURAGE THE USE OF WIKIPEDIA AS A MESSAGING PLATFORM. IT IS DESIGNED TO ENHANCE CONVERSATIONS ON USER AND TALK PAGES.

If you happen to encounter a bug or issue, or just have a suggestion to make, leave a message on the talk page. All suggestions welcome!

A userbox for WEmoji for anyone who wants it:


Ŋun su:Urban Versis 32/Userboxes/WEmoji


{{#invoke:Sandbox/Urban Versis 32/WEmoji|function_name}}

Example:
{{#invoke:Sandbox/Urban Versis 32/WEmoji|smile}}

The text below would replace the function name in the example. Next to it is a demo of that emoji.

  • wp --
  • grin --
  • grin2 --
  • wink --
  • smile --
  • cool --
  • think --
  • eyebrow --
  • expressionless --
  • rolleyes --
  • smirk --
  • sad --
  • sad2 --
  • monocle --
  • determined --
  • bot --
  • speak --
  • person --
  • ok --
  • thumbsup --
  • thumbsdown --
  • write --
  • clap --
  • highfive --

Current Bugs, Issues & Tasks

[mali mi di yibu sheena n-niŋ]
  • (TASK) Add more emojis! Message the talk page for information on adding emojis.
  • (TASK) Spread it out there! Subtly slip in a WEmoji in a discussion or talk page.
  • (TASK) In Template:WEmoji, possibly integrate use of Template:Icon instead of using subpages.

Join the WEmoji project! Go to Template:WEmoji/join and add your name.

{{WEmoji/join}}



-- PRESERVED BOTH DOCUMENTATION AND CODE EXACTLY AS WAS FROM Module:WEmoji ON 6/15/22
-- WEmoji is a basic module for universal emoji to be used throughout Wikipedia. Used in Module:WEmoji and Template:WEmoji and

-- their respective subpages.

-- VERSION HISTORY --
--
-- 0.7.6 - Enlarge size of emojis

-- 0.7.5 - Reduce size of emojis
-- 0.7 - Replace some emojis with more conventional ones ("Twemoji")
-- 0.5 - Reduce size of emojis
-- 0.4.5 - Added WP emoji and transfered titles on code.
-- 0.4 - Added third 8 emojis
-- 0.3 - Added second 8 emojis
-- 0.2 - Added first 8 emojis
-- 0.1 - Added first image emoji
-- 0.0.2 - Test of generic UTF smile emoji
-- 0.0.1 - Initial test of "Hello World" display

-- SECTION 1: Initialization --

local p = {};

-- SECTION 2: Emojis list/integrated database --
-- 1-8
p.wp = function(frame)
	local str = "[[File:Wikipedia-logo-v2.svg|24px]]"
	return str
end
p.grin = function(frame)
	local str = "[[File:Twemoji 1f600.svg|24px]]"
	return str
end
p.grin2 = function(frame)
	local str = "[[File:Twemoji 1f603.svg|24px]]"
	return str
end
p.wink = function(frame)
	local str = "[[File:Twemoji 1f609.svg|24px]]"
	return str
end
p.smile = function(frame)
	local str = "[[File:Twemoji 1f604.svg|24px]]"
	return str
end
p.cool = function(frame)
	local str = "[[File:Twemoji 1f60e.svg|24px]]"
	return str
end
p.think = function(frame)
	local str = "[[File:Twemoji 1f613.svg|24px]]"
	return str
end
p.eyebrow = function(frame)
	local str = "[[File:Twemoji 1f62f.svg|24px]]"
	return str
end

-- 9-16
p.expressionless = function(frame)
	local str = "[[File:Twemoji 1f611.svg|24px]]"
	return str
end
p.rolleyes = function(frame)
	local str = "[[File:Twemoji 1f612.svg|24px]]"
	return str
end
p.smirk = function(frame)
	local str = "[[File:Twemoji 1f60f.svg|24px]]"
	return str
end
p.sad = function(frame)
	local str = "[[File:Twemoji 1f615.svg|24px]]"
	return str
end
p.sad2 = function(frame)
	local str = "[[File:Twemoji 1f626.svg|24px]]"
	return str
end
p.monocle = function(frame)
	local str = "[[File:083-face-with-monocle.svg|24px]]"
	return str
end
p.determined = function(frame)
	local str = "[[File:Twemoji 1f620.svg|24px]]"
	return str
end
p.bot = function(frame)
	local str = "[[File:Twemoji 1f47e.svg|24px]]"
	return str
end

-- 17-24
p.speak = function(frame)
	local str = "[[File:276-speaking-head.svg|24px]]"
	return str
end
p.person = function(frame)
	local str = "[[File:277-bust-in-silhouette.svg|24px]]"
	return str
end
p.ok = function(frame)
	local str = "[[File:373-OK-hand-1.svg|24px]]"
	return str
end
p.thumbsup = function(frame)
	local str = "[[File:375-thumbs-up-1.svg|24px]]"
	return str
end
p.thumbsdown = function(frame)
	local str = "[[File:377-thumbs-down-1.svg|24px]]"
	return str
end
p.write = function(frame)
	local str = "[[File:385-writing-hand-1.svg|24px]]"
	return str
end
p.clap = function(frame)
	local str = "[[File:387-clapping-hands-1.svg|24px]]"
	return str
end
p.highfive = function(frame)
	local str = "[[File:391-folded-hands-1.svg|24px]]"
	return str
end


-- SECTION 3: Testing functions (The following functions are for testing purposes only.) --
p.test1 = function(frame) -- Hello World!
    local str = "Hello World!"
    return str
end

p.test2 = function(frame) -- Smiley using UTF
    local str = "😀"
    return str
end

-- Check for invalid input and emit error message and tracking category --

-- code to be written

-- SECTION 4: End of code/compilation --
return p