Module:Sandbox/Urban Versis 32/WEmoji

-- 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