Module:Miramoji

Module =  \/  |         | |     | |     _|  \/  (_)                         (_|_) | \  / | ___   __| |_   _| | ___(_) \  / |_ _ __ __ _ _ __ ___   ___  _ _  | |\/| |/ _ \ / _` | | | | |/ _ \ | |\/| | | '__/ _` | '_ ` _ \ / _ \| | | | |  | | (_) | (_| | |_| | |  __/_| |  | | | | | (_| | | | | | | (_) | | | |_|  |_|\___/ \__,_|\__,_|_|\___(_)_|  |_|_|_|  \__,_|_| |_| |_|\___/| |_|                                                                     _/ |                                                                      |__/ local p = {}

function p.runemoji( frame ) -- frame.args = Parameter, frame.args[1] = first parameter e = frame.args[1] -- resetting vars size = frame.args[2] errored = false -- if e == "christmas" then r = "Christmas Tree.png" -- begin emoji checker elseif e == "database" then r = "DatabaseBlackOutline.png" elseif e == "pumpkin" then r = "PumpkinNotCarved.jpg" elseif e == "party" then r = "Party Popper Emojipedia.png" elseif e == "brick" then r = "Bricks.png" elseif e == "honeycomb" then r = "MirahezeHoneycomb.png" elseif e == "document" then r = "Docsicon.png" elseif e == "blackpencil" then r = "20150202215729!OOjs UI icon edit-ltr.svg" elseif e == "pencil" then r = "Pencil.svg" elseif e == "userinfo" then r = "User-info.svg" elseif e == "error" then r = "RedWarn.png" elseif e == "earth" then r = "Emblem-earth.svg" elseif e == "earth2" then r = "SSDEarthNoIce.png" elseif e == "venus" then r = "Tango Venus.svg" elseif e == "mars" then r = "Tango Mars.svg" elseif e == "jupiter" then r = "Tango Jupiter.svg" elseif e == "neptune" then r = "Tango Neptune.svg" elseif e == "snowflake" then r = "PaintedSnowflake.png" elseif e == "grayflake" then r = "GrayPaintedSnowflake.png" elseif e == "iceflake" then r = "IcyPaintedSnowflake.png" -- end 3 dec emojis elseif e == "miraheze" then r = "Miraheze Logo.svg" -- start emojis added 5 december elseif e == "lock" then r = "ClosedLock.jpg" elseif e == "warning" then r = "Red warning 2.png" elseif e == "bluecheck" then r = "30px-Blue check.svg.png" elseif e == "mhadmin" then r = "Miraheze admin.png" elseif e == "mhcheckuser" then r = "Miraheze CheckUser Logo.png" elseif e == "mhsteward" then r = "Miraheze Steward.PNG" elseif e == "mhsysadmin" then r = "Miraheze Sysadmin.PNG" elseif e == "mhwikicreator" then r = "Miraheze Wiki Creator.PNG" elseif e == "mhbureaucrat" then r = "Miraheze Bureaucrat.PNG" elseif e == "mhpatrolled" then r = "Miraheze Autopatrolled.PNG" elseif e == "mhmainpage" then r = "Meta Mobile Main Page.png" elseif e == "pen" then r = "Pen icon.png" -- changed 7 dec elseif e == "mars2" then r = "Mars transparent.png" -- emoji added 7 december elseif e == "mhrollback" then r = "Miraheze rollback.png" -- added 8 december elseif e == "mhsettings" then r = "Miraheze settings.png" else errored = true end if errored then return ("Template:Miramoji error - No emoji found with name \"" .. e .. "\" ") -- display emoji else return ("") -- display emoji end -- end emoji checker end

return p -- bring script back to wikitext