Template:Emoji presentation/doc

From MOASSpedia
Jump to navigation Jump to search

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Emoji presentation

Apply a Unicode variation selector to request emoji or text presentation of a character.

Template parameters

ParameterDescriptionTypeStatus
Character1

The Unicode character to be presented as emoji or text. Enter this as text or an XML entity, not as a Unicode codepoint.

Example
Unknownoptional
Presentation style2

The presentation style to be used, either "emoji" or "text".

Default
emoji
Example
emoji
Unknownoptional