Jump to content

Template:Emoji/doc: Difference between revisions

From Guzmer Wiki
Worm-9340 (talk | contribs)
m File extensions
Worm-9340 (talk | contribs)
Example of non-png file type
 
Line 31: Line 31:


<syntaxhighlight lang="html" style="overflow:auto;">
<syntaxhighlight lang="html" style="overflow:auto;">
{{emoji|Name-Of-Emoji|filetype = jpg}}
😺 + 😜 = {{emoji|stuck_out_tongue_winking_eye_cat|filetype = svg}}
</syntaxhighlight>
</syntaxhighlight>
😺 + 😜 = {{emoji|stuck_out_tongue_winking_eye_cat|filetype = svg}}


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!

Latest revision as of 20:31, 2 February 2021

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|stuck_out_tongue_winking_eye_cat|filetype = svg}}

😺 + 😜 =


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