Template:Emoji presentation/doc
This is a documentation subpage for Template:Emoji presentation. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Unicode variation selectors to request emoji or text presentation of a character.
The effects of this template will depend on the reader's software. To see what it looks like in your browser, visit the test cases.
Without this template, some users report that Google Chrome running on Windows 10 selects emoji versions, while most other browsers select text versions. Selection may also depend on what fonts are installed.
Usage
The following examples use U+2139 ℹ INFORMATION SOURCE.
Default (requests emoji presentation):
{{Emoji presentation|ℹ}}
Explicitly request emoji presentation:
{{Emoji presentation|ℹ|emoji}}
Request text presentation:
{{Emoji presentation|ℹ|text}}
When using this template to request emoji presentation, you should also add {{Contains special characters|emoticon}}
at the top of the article, or {{Contains special characters|emoticon|section}}
at the top of the section.
Template data
TemplateData for Emoji presentation
Apply a Unicode variation selector to request emoji or text presentation of a character.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Character | 1 | The Unicode character to be presented as emoji or text. Enter this as text or an XML entity, not as a Unicode codepoint.
| Unknown | optional |
Presentation style | 2 | The presentation style to be used, either "emoji" or "text".
| Unknown | optional |