Template:Emoji

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

๐Ÿ˜ท

Template documentationview ยท edit ยท history ยท purge ]
This documentation is transcluded from Template:Emoji/doc.

Serves for formatted display of icons (smilies), either SVG files or Unicode characters.

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: cthe corresponding category, a Chinese character; nthe meaning as an English text; ua second part of the codepoint sthe display size ("spx") ptext (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 dpx with border b and padding p.

Template parameters

ParameterDescriptionDefaultStatus
1
tb
for decision whether SVG icons: tb is empty
or Unicode characters are to display: tb is a numeric value
niloptional
2
u
the codepoint for either the SVG smilies, or
the codepoint for the characters
emptyrequired
3
c, b
c: a category name for the SVG smilies, e.g. PAGENAME
b: a border definition for the character emojies
emptyoptional
4
p
p: any text when another than "Emoji"
p: specification of padding for the characters
emptyoptional
5
s, d
s: the size (in px) for the SVG icons
d: the size (in px) for the characters
emptyoptional
6
n, y
n: an explaining text for the SVG icons
y: additional style options for the characters (line-size=150%)
emptyoptional
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.

Examples

  1. A line of SVG icons (e.g. U+1F637); see also the talk page.
Emojis: Unicode U+1F637 โ€œFACE WITH MEDICAL MASKโ€ 😷 
  1. A single Unicode caracter (e.g. U+1F367) ๐Ÿง {{Emoji|0|u=1F367|b=blue solid 1px|d=64}}
  2. 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}}

๐Ÿ˜€๐Ÿ˜๐Ÿ˜‚๐Ÿ˜ƒ๐Ÿ˜„๐Ÿ˜…๐Ÿ˜†๐Ÿ˜‡๐Ÿ˜ˆ๐Ÿ˜‰๐Ÿ˜Š๐Ÿ˜‹๐Ÿ˜Œ๐Ÿ˜๐Ÿ˜Ž๐Ÿ˜
๐Ÿ˜๐Ÿ˜‘๐Ÿ˜’๐Ÿ˜“๐Ÿ˜”๐Ÿ˜•๐Ÿ˜–๐Ÿ˜—๐Ÿ˜˜๐Ÿ˜™๐Ÿ˜š๐Ÿ˜›๐Ÿ˜œ๐Ÿ˜๐Ÿ˜ž๐Ÿ˜Ÿ
๐Ÿ˜ ๐Ÿ˜ก๐Ÿ˜ข๐Ÿ˜ฃ๐Ÿ˜ค๐Ÿ˜ฅ๐Ÿ˜ฆ๐Ÿ˜ง๐Ÿ˜จ๐Ÿ˜ฉ๐Ÿ˜ช๐Ÿ˜ซ๐Ÿ˜ฌ๐Ÿ˜ญ๐Ÿ˜ฎ๐Ÿ˜ฏ
๐Ÿ˜ฐ๐Ÿ˜ฑ๐Ÿ˜ฒ๐Ÿ˜ณ๐Ÿ˜ด๐Ÿ˜ต๐Ÿ˜ถ๐Ÿ˜ท๐Ÿ˜ธ๐Ÿ˜น๐Ÿ˜บ๐Ÿ˜ป๐Ÿ˜ผ๐Ÿ˜ฝ๐Ÿ˜พ๐Ÿ˜ฟ
๐Ÿ™€๐Ÿ™๐Ÿ™‚๐Ÿ™ƒ๐Ÿ™„๐Ÿ™…๐Ÿ™†๐Ÿ™‡๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š๐Ÿ™‹๐Ÿ™Œ๐Ÿ™๐Ÿ™Ž๐Ÿ™