Template:Emoji
😷︎
The template automatically sets the following categories: Unicode emoji (when from Unicode)
Usage
{{Template:Emoji |2= }}
Onmouseover
, it also renders a tooltip showing file names (the link name) and characters (their Unicode codepoint).
This template displays a horizontal table of some emoji buttons; their hexadecimal Unicode codepoint has to be passed by the parameter u1=
;
Other parameters:
c
the corresponding category, a Chinese character;
n
the meaning as an English text;
u
a second part of the codepoint
s
the display size ("s
px")
p
text (if other than "Emojis:")
When the parameter tb
is "0", just the Unicode character with the hexadecimal codepoint u
will be displayed in font-size d
px with border b
and padding p
.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 tb | for decision whether SVG icons: tb is empty or Unicode characters are to display: tb is a numeric value | nil | optional | |
2 u | the codepoint for either the SVG smilies, or the codepoint for the characters | empty | required | |
3 c, b | c: a category name for the SVG smilies, e.g. PAGENAME b: a border definition for the character emojies | empty | optional | |
4 p | p: any text when another than "Emoji" p: specification of padding for the characters | empty | optional | |
5 s, d | s: the size (in px) for the SVG icons d: the size (in px) for the characters | empty | optional | |
6 n, y | n: an explaining text for the SVG icons y: additional style options for the characters (line-size=150%) | empty | optional | |
7 v | v: "-" to suppress character display v: set to 16 for a line break at each 16th character | "+" empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
See also
Module:Iteration/parlst, Iteration/emodis, Iteration/emotab
Localization
This template is not intended to be localized.
Category:Templates not requiring internationalizationExamples
- A line of SVG icons (e.g. U+1F637); see also the talk page.
Emojis: Unicode U+1F637 |
“FACE WITH MEDICAL MASK” | 😷 ![]() ![]() |
---|
- A single Unicode caracter (e.g. U+1F367) 🍧︎ {{Emoji|0|u=1F367|b=blue solid 1px|d=64}}
- A series of 80 Unicode characters (e.g. U+1F600 to U+1F64F); see also the /doc talk page.
- This usage needs the Module:Iteration: {{#invoke:Iteration|parlst|temp=Emoji|80|1F600|||||16}}
😀︎😁︎😂︎😃︎😄︎😅︎😆︎😇︎😈︎😉︎😊︎😋︎😌︎😍︎😎︎😏
︎😐︎😑︎😒︎😓︎😔︎😕︎😖︎😗︎😘︎😙︎😚︎😛︎😜︎😝︎😞︎😟
︎😠︎😡︎😢︎😣︎😤︎😥︎😦︎😧︎😨︎😩︎😪︎😫︎😬︎😭︎😮︎😯
︎😰︎😱︎😲︎😳︎😴︎😵︎😶︎😷︎😸︎😹︎😺︎😻︎😼︎😽︎😾︎😿
︎🙀︎🙁︎🙂︎🙃︎🙄︎🙅︎🙆︎🙇︎🙈︎🙉︎🙊︎🙋︎🙌︎🙍︎🙎︎🙏
︎
See also
Category:Main message boxes Category:Templates without documentationTBD: please give other templates names for icons, smileys... // e.g. {{Icon}}, {{Smiley}}/{{Emoticon}}...
Category:Table formatting templates#%20