Module:Miramoji

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" else errored = true end if errored then return ("Emoji displayer error - No emoji found with name ") else return ("") -- display emoji end -- end emoji checker end

return p -- bring script back to wikitext