Jump to content

Template:Emoji/doc: Difference between revisions

From Guzmer Wiki
Worm-9340 (talk | contribs)
Create doc
 
Worm-9340 (talk | contribs)
m File extensions
Line 19: Line 19:


<syntaxhighlight lang="html" style="overflow:auto;">
<syntaxhighlight lang="html" style="overflow:auto;">
Emoji-Name-Of-Emoji
Emoji-Name-Of-Emoji.png
</syntaxhighlight>
</syntaxhighlight>


Line 26: Line 26:
<syntaxhighlight lang="html" style="overflow:auto;">
<syntaxhighlight lang="html" style="overflow:auto;">
{{emoji|Name-Of-Emoji}}
{{emoji|Name-Of-Emoji}}
</syntaxhighlight>
If the file extension is something other than PNG:
<syntaxhighlight lang="html" style="overflow:auto;">
{{emoji|Name-Of-Emoji|filetype = jpg}}
</syntaxhighlight>
</syntaxhighlight>


If this still doesn't make sense, you're either Alyssa or an idiot. Have fun!
If this still doesn't make sense, you're either Alyssa or an idiot. Have fun!

Revision as of 20:39, 3 October 2020

This template displays an emoji inline.

{{emoji|name-of-emoji}}

Example

If there exists a server emoji :pepsi:, it can be displayed using this template:

adam please kill yourself with the Coca-Cola Freestyle machine. {{emoji|pepsi}}

adam please kill yourself with the Coca-Cola Freestyle machine.


Providing Emojis

When uploading an emoji, format the filename like so:

Emoji-Name-Of-Emoji.png

Then the emoji can be used:

{{emoji|Name-Of-Emoji}}

If the file extension is something other than PNG:

{{emoji|Name-Of-Emoji|filetype = jpg}}

If this still doesn't make sense, you're either Alyssa or an idiot. Have fun!