<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AEmoji%2Fdoc</id>
	<title>Module:Emoji/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AEmoji%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Emoji/doc&amp;action=history"/>
	<updated>2026-06-07T03:40:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Emoji/doc&amp;diff=136061&amp;oldid=prev</id>
		<title>imported&gt;Urban Versis 32: Grammar</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Emoji/doc&amp;diff=136061&amp;oldid=prev"/>
		<updated>2022-05-22T19:22:23Z</updated>

		<summary type="html">&lt;p&gt;Grammar&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
[[Module:Emoji]] implements two functions:&lt;br /&gt;
; emocode : Takes one unnamed parameter, the name of the emoji, and returns the hex code for the corresponding emoji. If no name is supplied it uses &amp;quot;smiley&amp;quot; as the default (and returns &amp;lt;code&amp;gt;1f603&amp;lt;/code&amp;gt;).&lt;br /&gt;
; emoname : Takes one unnamed parameter, the hex code of the emoji, and returns the name for the corresponding emoji. If no name is supplied it uses &amp;quot;1f603&amp;quot; as the default (and returns &amp;lt;code&amp;gt;smiley&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
It stores the mapping from name to code in [[Module:Emoji/data]], which internally generates the reverse lookup table from code to name.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emocode | wink}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emocode | wink}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emocode | grin}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emocode | grin}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emocode | 8ball}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emocode | 8ball}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emocode }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emocode }}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emoname | 1f62b}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emoname | 1f62b}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Emoji | emoname }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#invoke:Emoji | emoname }}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Urban Versis 32</name></author>
	</entry>
</feed>