Template:Emoji: Difference between revisions

From VNDev Wiki
m fixed plumgun link
m minor cleanup and added documentation transclude
Line 39: Line 39:
| youwhatLemon = File:YouWhatLemon.png
| youwhatLemon = File:YouWhatLemon.png
| youwhatLime = File:YouWhatLime.png
| youwhatLime = File:YouWhatLime.png
| #default = File:Red_question_mark.png
}}|{{#switch: {{{2|}}}
}}|{{#switch: {{{2|}}}
| s | S = 18px
| s | S = 18px
Line 85: Line 84:
| youwhatLemon =Lemon staring confused and scared emoji
| youwhatLemon =Lemon staring confused and scared emoji
| youwhatLime =Lime staring confused and scared emoji
| youwhatLime =Lime staring confused and scared emoji
| #default =Red question mark emoji
| #default =Emoji not found
}}"]]
}}"]]<noinclude>{{documentation}}</noinclude>

Revision as of 10:12, 20 December 2024

[[|25px | alt="Emoji not found"]]

Documentation icon Template documentation [view] [edit] [purge]

This template easily renders an emoji at the desired size, including alt text, and is designed to be used within messages in Template:Chat.

{{emoji | NAME | SIZE}}

An emoji's name is the official name for it in the DevTalk Discord server. Names are case sensitive and match DevTalk's casing. Do not label the parameter name =; leave it unlabeled.

The size parameter is optional. Do not label the parameter size =; leave it unlabeled. Supported sizes are:

  • l or L for a "large" emoji. (In Discord, this is used when a message has between one and three emoji, and no other characters except spaces.)
  • s or S for a "small" emoji. Use only in conjunction with Template:Chat 's small size parameter.
  • xl or XL for an "extra large" emoji. These are not able to be conveniently used in normal Discord chatting, but are occasionally used in DevTalk daily message skits.
  • When no size is specified, the emoji will be a "regular" size, such as one might see in a standard Discord message that contains four or more emoji, or that contains text other than emoji.